node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
29,
2,
17,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
13,
41,
13,
8,
13,
4,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
4,
13,
13,
17,
4,
13,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
0,
13,
20,
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,
41,
13,
17,
38,
5,
13,
30,
37,
20,
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
],
[
270,
8
],
[
270,
9
],
[
9,
10
],
[
9,
11
],
[
270,
12
],
[
12,
13
],
[
270,
14
],
[
14,
15
],
[
270,
16
],
[
16,
17
],
[
16,
18
],
[
270,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
270,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
29,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
29,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
27,
74
],
[
74,
75
],
[
270,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
78,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
92,
96
],
[
78,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
110,
118
],
[
78,
119
],
[
119,
120
],
[
119,
121
],
[
78,
122
],
[
122,
123
],
[
123,
124
],
[
78,
125
],
[
125,
126
],
[
126,
127
],
[
270,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
128,
135
],
[
135,
136
],
[
270,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
137,
144
],
[
144,
145
],
[
270,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
146,
156
],
[
156,
157
],
[
270,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
270,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
270,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
180,
181
],
[
270,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
270,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
199,
200
],
[
200,
201
],
[
270,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
202,
206
],
[
206,
207
],
[
202,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
202,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
214,
220
],
[
220,
221
],
[
202,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
225,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
235,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
224,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
202,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
255,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
251,
267
],
[
267,
268
],
[
0,
269
],
[
269,
270
],
[
269,
271
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.next();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.nextLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return Integer.parseInt(in.next());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return Long.parseLong(in.next());}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return Double.parseDouble(in.next());}\n\t\n\t\tclass FastReader{\n\t\t\tBufferedReader br;\n\t\t\tStringTokenizer st;\n\t\t\t\n\t\t\tpublic FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}\n\t\n\t\t\tpublic FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}\n\t\n\t\t\tString next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}\n\t\n\t\t\tString nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}\n\t\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.next();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.nextLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return Integer.parseInt(in.next());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return Long.parseLong(in.next());}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return Double.parseDouble(in.next());}\n\t\n\t\tclass FastReader{\n\t\t\tBufferedReader br;\n\t\t\tStringTokenizer st;\n\t\t\t\n\t\t\tpublic FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}\n\t\n\t\t\tpublic FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}\n\t\n\t\t\tString next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}\n\t\n\t\t\tString nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}\n\t\t}\n}",
"Main",
"//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;",
"multipleTC",
"false",
"PrintWriter out;",
"out",
"FastReader in;",
"in",
"//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}",
"pre",
"{}",
"public static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }",
"main",
"{\n\t\t\t\n\t\tnew Main().run();\n\t }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}",
"in_out",
"{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}",
"char[] s=n().toCharArray();",
"s",
"n().toCharArray()",
"n().toCharArray",
"n()",
"n",
"char[] p=n().toCharArray();",
"p",
"n().toCharArray()",
"n().toCharArray",
"n()",
"n",
"int count=0;",
"count",
"0",
"for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }",
"{\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }",
"if(s[i]!=p[i])\n\t\t\tcount++;",
"s[i]!=p[i]",
"s[i]",
"s",
"i",
"p[i]",
"p",
"i",
"count++",
"count",
"return \"\"+count;",
"\"\"+count",
"\"\"",
"count",
"int tc",
"tc",
"void run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}",
"run",
"{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}",
"in = new FastReader()",
"in",
"new FastReader()",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"StringBuilder print=new StringBuilder(\"\");",
"print",
"new StringBuilder(\"\")",
"pre()",
"pre",
"int T = (multipleTC)?ni():1;",
"T",
"(multipleTC)?ni():1",
"(multipleTC)",
"ni()",
"ni",
"1",
"for(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}",
"int t = 1;",
"int t = 1;",
"t",
"1",
"t<= T",
"t",
"T",
"t++",
"t++",
"t",
"{\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}",
"{\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}",
"print.append(in_out(t)).append(\"\\n\")",
"print.append(in_out(t)).append",
"print.append(in_out(t))",
"print.append",
"print",
"in_out(t)",
"in_out",
"t",
"\"\\n\"",
"p(print)",
"p",
"print",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"void p(Object o)\n\t\t\t\t{out.print(o);}",
"p",
"{out.print(o);}",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"void pln(Object o)\n\t\t\t\t{out.println(o);}",
"pln",
"{out.println(o);}",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"void pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}",
"pnf",
"{out.println(o);\n\t\t\t\tout.flush();}",
"out.println(o)",
"out.println",
"out",
"o",
"out.flush()",
"out.flush",
"out",
"Object o",
"o",
"String n()throws Exception\n\t\t\t\t{return in.next();}",
"n",
"{return in.next();}",
"return in.next();",
"in.next()",
"in.next",
"in",
"String nln()throws Exception\n\t\t\t\t{return in.nextLine();}",
"nln",
"{return in.nextLine();}",
"return in.nextLine();",
"in.nextLine()",
"in.nextLine",
"in",
"int ni()throws Exception\n\t\t\t\t{return Integer.parseInt(in.next());}",
"ni",
"{return Integer.parseInt(in.next());}",
"return Integer.parseInt(in.next());",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"long nl()throws Exception\n\t\t\t\t{return Long.parseLong(in.next());}",
"nl",
"{return Long.parseLong(in.next());}",
"return Long.parseLong(in.next());",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"double nd()throws Exception\n\t\t\t\t{return Double.parseDouble(in.next());}",
"nd",
"{return Double.parseDouble(in.next());}",
"return Double.parseDouble(in.next());",
"Double.parseDouble(in.next())",
"Double.parseDouble",
"Double",
"in.next()",
"in.next",
"in",
"class FastReader{\n\t\t\tBufferedReader br;\n\t\t\tStringTokenizer st;\n\t\t\t\n\t\t\tpublic FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}\n\t\n\t\t\tpublic FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}\n\t\n\t\t\tString next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}\n\t\n\t\t\tString nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}\n\t\t}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}",
"FastReader",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}",
"FastReader",
"{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}",
"br = new BufferedReader(new FileReader(s))",
"br",
"new BufferedReader(new FileReader(s))",
"String s",
"s",
"String next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}",
"next",
"{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}",
"while (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}",
"try{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}",
"catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}",
"throw new Exception(e.toString());",
"new Exception(e.toString())",
"{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"String nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}",
"nextLine",
"{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}",
"String str = \"\";",
"str",
"\"\"",
"try{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t}",
"catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t}",
"throw new Exception(e.toString());",
"new Exception(e.toString())",
"{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.next();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.nextLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return Integer.parseInt(in.next());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return Long.parseLong(in.next());}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return Double.parseDouble(in.next());}\n\t\n\t\tclass FastReader{\n\t\t\tBufferedReader br;\n\t\t\tStringTokenizer st;\n\t\t\t\n\t\t\tpublic FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}\n\t\n\t\t\tpublic FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}\n\t\n\t\t\tString next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}\n\t\n\t\t\tString nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}\n\t\t}\n}",
"public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t char[] s=n().toCharArray();\n\t\t char[] p=n().toCharArray();\n\n\t\t// int f1[]=new int[26];\n\t\t //int f2[]=new int[26];\n\t\t int count=0;\n\t\t for(int i=0;i<s.length;i++){\n\t\t\tif(s[i]!=p[i])\n\t\t\tcount++;\n\t\t }\n\n\t\treturn \"\"+count;\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t//\tin = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.next();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.nextLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return Integer.parseInt(in.next());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return Long.parseLong(in.next());}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return Double.parseDouble(in.next());}\n\t\n\t\tclass FastReader{\n\t\t\tBufferedReader br;\n\t\t\tStringTokenizer st;\n\t\t\t\n\t\t\tpublic FastReader(){\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t}\n\t\n\t\t\tpublic FastReader(String s) throws Exception{\n\t\t\t\tbr = new BufferedReader(new FileReader(s));\n\t\t\t}\n\t\n\t\t\tString next() throws Exception{\n\t\t\t\twhile (st == null || !st.hasMoreElements()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn st.nextToken();\n\t\t\t}\n\t\n\t\t\tString nextLine() throws Exception{\n\t\t\t\tString str = \"\";\n\t\t\t\ttry{ \n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t}catch (IOException e){\n\t\t\t\t\tthrow new Exception(e.toString());\n\t\t\t\t} \n\t\t\t\treturn str;\n\t\t\t}\n\t\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
//make it false if Multiple test case is not in the question
static boolean multipleTC = false;
//for pre processing if needed
void pre() throws Exception
{}
public static void main(String[] args) throws Exception{
new Main().run();
}
// input output handled here
private String in_out(int tc) throws Exception{
//take input here
char[] s=n().toCharArray();
char[] p=n().toCharArray();
// int f1[]=new int[26];
//int f2[]=new int[26];
int count=0;
for(int i=0;i<s.length;i++){
if(s[i]!=p[i])
count++;
}
return ""+count;
}
void run() throws Exception{
// long start_time=System.nanoTime();
// in = new FastReader("input.txt"); out = new PrintWriter("output.txt");
in = new FastReader(); out = new PrintWriter(System.out);
StringBuilder print=new StringBuilder("");
pre();
int T = (multipleTC)?ni():1;
for(int t = 1; t<= T; t++){
print.append(in_out(t)).append("\n");
}
p(print);
//long end_time=System.nanoTime();
//System.out.println("Running Time in nano sec : "+(end_time-start_time));
out.flush();
out.close();
}
PrintWriter out;
FastReader in;
void p(Object o)
{out.print(o);}
void pln(Object o)
{out.println(o);}
void pnf(Object o)
{out.println(o);
out.flush();}
String n()throws Exception
{return in.next();}
String nln()throws Exception
{return in.nextLine();}
int ni()throws Exception
{return Integer.parseInt(in.next());}
long nl()throws Exception
{return Long.parseLong(in.next());}
double nd()throws Exception
{return Double.parseDouble(in.next());}
class FastReader{
BufferedReader br;
StringTokenizer st;
public FastReader(){
br = new BufferedReader(new InputStreamReader(System.in));
}
public FastReader(String s) throws Exception{
br = new BufferedReader(new FileReader(s));
}
String next() throws Exception{
while (st == null || !st.hasMoreElements()){
try{
st = new StringTokenizer(br.readLine());
}catch (IOException e){
throw new Exception(e.toString());
}
}
return st.nextToken();
}
String nextLine() throws Exception{
String str = "";
try{
str = br.readLine();
}catch (IOException e){
throw new Exception(e.toString());
}
return str;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
0,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
29,
13,
23,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
4,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
62,
72
],
[
72,
73
],
[
40,
74
],
[
74,
75
],
[
38,
76
],
[
76,
77
],
[
38,
78
],
[
78,
79
]
]
| [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int ans;\n ans = convert(a,b);\n System.out.println(ans);\n }\n public static int convert(String a, String b){\n int l = a.length();\n int count = 0;\n for(int i =0; i< l; i++){\n if(a.charAt(i) != b.charAt(i))\n count++;\n }\n return count;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int ans;\n ans = convert(a,b);\n System.out.println(ans);\n }\n public static int convert(String a, String b){\n int l = a.length();\n int count = 0;\n for(int i =0; i< l; i++){\n if(a.charAt(i) != b.charAt(i))\n count++;\n }\n return count;\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int ans;\n ans = convert(a,b);\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int ans;\n ans = convert(a,b);\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int ans;",
"ans",
"ans = convert(a,b)",
"ans",
"convert(a,b)",
"convert",
"a",
"b",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int convert(String a, String b){\n int l = a.length();\n int count = 0;\n for(int i =0; i< l; i++){\n if(a.charAt(i) != b.charAt(i))\n count++;\n }\n return count;\n }",
"convert",
"{\n int l = a.length();\n int count = 0;\n for(int i =0; i< l; i++){\n if(a.charAt(i) != b.charAt(i))\n count++;\n }\n return count;\n }",
"int l = a.length();",
"l",
"a.length()",
"a.length",
"a",
"int count = 0;",
"count",
"0",
"for(int i =0; i< l; i++){\n if(a.charAt(i) != b.charAt(i))\n count++;\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< l",
"i",
"l",
"i++",
"i++",
"i",
"{\n if(a.charAt(i) != b.charAt(i))\n count++;\n }",
"{\n if(a.charAt(i) != b.charAt(i))\n count++;\n }",
"if(a.charAt(i) != b.charAt(i))\n count++;",
"a.charAt(i) != b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"count++",
"count",
"return count;",
"count",
"String a",
"a",
"String b",
"b"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int ans;
ans = convert(a,b);
System.out.println(ans);
}
public static int convert(String a, String b){
int l = a.length();
int count = 0;
for(int i =0; i< l; i++){
if(a.charAt(i) != b.charAt(i))
count++;
}
return count;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
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
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
8,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] sChar = new char[s.length()];",
"sChar",
"new char[s.length()]",
"s.length()",
"s.length",
"s",
"char[] tChar = new char[t.length()];",
"tChar",
"new char[t.length()]",
"t.length()",
"t.length",
"t",
"for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }",
"{\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }",
"sChar[i] = s.charAt(i)",
"sChar[i]",
"sChar",
"i",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"tChar[i] = t.charAt(i)",
"tChar[i]",
"tChar",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"int count = 0;",
"count",
"0",
"for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<s.length()",
"j",
"s.length()",
"s.length",
"s",
"j++",
"j++",
"j",
"{\n if(sChar[j] != tChar[j]){\n count++;\n }\n }",
"{\n if(sChar[j] != tChar[j]){\n count++;\n }\n }",
"if(sChar[j] != tChar[j]){\n count++;\n }",
"sChar[j] != tChar[j]",
"sChar[j]",
"sChar",
"j",
"tChar[j]",
"tChar",
"j",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String s = sc.next();\n String t = sc.next();\n\n char[] sChar = new char[s.length()];\n char[] tChar = new char[t.length()];\n\n for(int i = 0; i<s.length(); i++){\n sChar[i] = s.charAt(i);\n tChar[i] = t.charAt(i);\n }\n\n int count = 0;\n for(int j = 0; j<s.length(); j++){\n if(sChar[j] != tChar[j]){\n count++;\n }\n }\n System.out.println(count);\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
char[] sChar = new char[s.length()];
char[] tChar = new char[t.length()];
for(int i = 0; i<s.length(); i++){
sChar[i] = s.charAt(i);
tChar[i] = t.charAt(i);
}
int count = 0;
for(int j = 0; j<s.length(); j++){
if(sChar[j] != tChar[j]){
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
18,
13,
13,
12,
13,
30,
14,
2,
13,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
17,
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,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
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,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
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,
30,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
29,
17,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
367,
8
],
[
367,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
367,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
64,
70
],
[
70,
71
],
[
64,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
64,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
64,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
97,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
86,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
64,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
121,
137
],
[
137,
138
],
[
137,
139
],
[
121,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
144,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
121,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
173,
175
],
[
167,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
159,
180
],
[
180,
181
],
[
121,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
64,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
188,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
188,
204
],
[
204,
205
],
[
204,
206
],
[
188,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
188,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
221,
226
],
[
226,
227
],
[
226,
228
],
[
220,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
235,
237
],
[
230,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
244,
246
],
[
238,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
230,
251
],
[
251,
252
],
[
188,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
265,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
276,
278
],
[
271,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
279,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
271,
294
],
[
294,
295
],
[
188,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
64,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
302,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
302,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
318,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
324,
327
],
[
323,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
302,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
64,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
343,
341
],
[
353,
342
],
[
350,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
347,
349
],
[
350,
350
],
[
350,
351
],
[
350,
352
],
[
353,
353
],
[
353,
354
],
[
353,
355
],
[
343,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
339,
360
],
[
360,
361
],
[
338,
362
],
[
362,
363
],
[
336,
364
],
[
364,
365
],
[
0,
366
],
[
366,
367
],
[
366,
368
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n static class Scan {\n private byte[] buf=new byte[1024];\n private int index;\n private InputStream in;\n private int total;\n public Scan()\n {\n in=System.in;\n }\n public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }\n public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }\n public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }\n public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }\n private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }\n }\n public static void main(String args[]) throws IOException {\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static class Scan {\n private byte[] buf=new byte[1024];\n private int index;\n private InputStream in;\n private int total;\n public Scan()\n {\n in=System.in;\n }\n public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }\n public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }\n public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }\n public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }\n private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }\n }\n public static void main(String args[]) throws IOException {\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }",
"main",
"{\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }",
"Scan input=new Scan();",
"input",
"new Scan()",
"String str1=input.scanString();",
"str1",
"input.scanString()",
"input.scanString",
"input",
"String str2=input.scanString();",
"str2",
"input.scanString()",
"input.scanString",
"input",
"int cnt=0;",
"cnt",
"0",
"for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }",
"{\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }",
"if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }",
"str1.charAt(i)!=str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String args[]",
"args",
"static class Scan {\n private byte[] buf=new byte[1024];\n private int index;\n private InputStream in;\n private int total;\n public Scan()\n {\n in=System.in;\n }\n public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }\n public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }\n public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }\n public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }\n private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }\n }",
"Scan",
"private byte[] buf=new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int index;",
"index",
"private InputStream in;",
"in",
"private int total;",
"total",
"public Scan()\n {\n in=System.in;\n }",
"Scan",
"{\n in=System.in;\n }",
"in=System.in",
"in",
"System.in",
"System",
"System.in",
"public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }",
"scan",
"{\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }",
"if(total<0)\n throw new InputMismatchException();",
"total<0",
"total",
"0",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }",
"index>=total",
"index",
"total",
"{\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }",
"index=0",
"index",
"0",
"total=in.read(buf)",
"total",
"in.read(buf)",
"in.read",
"in",
"buf",
"if(total<=0)\n return -1;",
"total<=0",
"total",
"0",
"return -1;",
"-1",
"1",
"return buf[index++];",
"buf[index++]",
"buf",
"index++",
"index",
"public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"scanInt",
"{\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"int integer=0;",
"integer",
"0",
"int n=scan();",
"n",
"scan()",
"scan",
"while(isWhiteSpace(n))\n n=scan();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n=scan()",
"n",
"scan()",
"scan",
"int neg=1;",
"neg",
"1",
"if(n=='-')\n {\n neg=-1;\n n=scan();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n=scan();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n=scan()",
"n",
"scan()",
"scan",
"while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n integer*=10;\n integer+=n-'0';\n n=scan();\n }",
"integer*=10",
"integer",
"10",
"integer+=n-'0'",
"integer",
"n-'0'",
"n",
"'0'",
"n=scan()",
"n",
"scan()",
"scan",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return neg*integer;",
"neg*integer",
"neg",
"integer",
"public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"scanDouble",
"{\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"double doub=0;",
"doub",
"0",
"int n=scan();",
"n",
"scan()",
"scan",
"while(isWhiteSpace(n))\n n=scan();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n=scan()",
"n",
"scan()",
"scan",
"int neg=1;",
"neg",
"1",
"if(n=='-')\n {\n neg=-1;\n n=scan();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n=scan();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n=scan()",
"n",
"scan()",
"scan",
"while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)&&n!='.'",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n!='.'",
"n",
"'.'",
"{\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n doub*=10;\n doub+=n-'0';\n n=scan();\n }",
"doub*=10",
"doub",
"10",
"doub+=n-'0'",
"doub",
"n-'0'",
"n",
"'0'",
"n=scan()",
"n",
"scan()",
"scan",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }",
"n=='.'",
"n",
"'.'",
"{\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }",
"n=scan()",
"n",
"scan()",
"scan",
"double temp=1;",
"temp",
"1",
"while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }",
"temp/=10",
"temp",
"10",
"doub+=(n-'0')*temp",
"doub",
"(n-'0')*temp",
"(n-'0')",
"n",
"'0'",
"temp",
"n=scan()",
"n",
"scan()",
"scan",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return doub*neg;",
"doub*neg",
"doub",
"neg",
"public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }",
"scanString",
"{\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"int n=scan();",
"n",
"scan()",
"scan",
"while(isWhiteSpace(n))\n n=scan();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n=scan()",
"n",
"scan()",
"scan",
"while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n sb.append((char)n);\n n=scan();\n }",
"sb.append((char)n)",
"sb.append",
"sb",
"(char)n",
"n=scan()",
"n",
"scan()",
"scan",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }",
"isWhiteSpace",
"{\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }",
"if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;",
"n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1",
"n=='\\t'",
"n=='\\r'",
"n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1",
"n==' '",
"n",
"' '",
"n=='\\n'",
"n",
"'\\n'",
"n=='\\r'",
"n",
"'\\r'",
"n=='\\t'",
"n",
"'\\t'",
"n==-1",
"n",
"-1",
"1",
"return true;",
"true",
"return false;",
"false",
"int n",
"n",
"public class Main {\n static class Scan {\n private byte[] buf=new byte[1024];\n private int index;\n private InputStream in;\n private int total;\n public Scan()\n {\n in=System.in;\n }\n public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }\n public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }\n public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }\n public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }\n private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }\n }\n public static void main(String args[]) throws IOException {\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }\n}",
"public class Main {\n static class Scan {\n private byte[] buf=new byte[1024];\n private int index;\n private InputStream in;\n private int total;\n public Scan()\n {\n in=System.in;\n }\n public int scan()throws IOException\n {\n if(total<0)\n throw new InputMismatchException();\n if(index>=total)\n {\n index=0;\n total=in.read(buf);\n if(total<=0)\n return -1;\n }\n return buf[index++];\n }\n public int scanInt()throws IOException\n {\n int integer=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n integer*=10;\n integer+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }\n public double scanDouble()throws IOException\n {\n double doub=0;\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n int neg=1;\n if(n=='-')\n {\n neg=-1;\n n=scan();\n }\n while(!isWhiteSpace(n)&&n!='.')\n {\n if(n>='0'&&n<='9')\n {\n doub*=10;\n doub+=n-'0';\n n=scan();\n }\n else throw new InputMismatchException();\n }\n if(n=='.')\n {\n n=scan();\n double temp=1;\n while(!isWhiteSpace(n))\n {\n if(n>='0'&&n<='9')\n {\n temp/=10;\n doub+=(n-'0')*temp;\n n=scan();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }\n public String scanString()throws IOException\n {\n StringBuilder sb=new StringBuilder();\n int n=scan();\n while(isWhiteSpace(n))\n n=scan();\n while(!isWhiteSpace(n))\n {\n sb.append((char)n);\n n=scan();\n }\n return sb.toString();\n }\n private boolean isWhiteSpace(int n)\n {\n if(n==' '||n=='\\n'||n=='\\r'||n=='\\t'||n==-1)\n return true;\n return false;\n }\n }\n public static void main(String args[]) throws IOException {\n Scan input=new Scan();\n String str1=input.scanString();\n String str2=input.scanString();\n int cnt=0;\n for(int i=0;i<str1.length();i++) {\n if(str1.charAt(i)!=str2.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static class Scan {
private byte[] buf=new byte[1024];
private int index;
private InputStream in;
private int total;
public Scan()
{
in=System.in;
}
public int scan()throws IOException
{
if(total<0)
throw new InputMismatchException();
if(index>=total)
{
index=0;
total=in.read(buf);
if(total<=0)
return -1;
}
return buf[index++];
}
public int scanInt()throws IOException
{
int integer=0;
int n=scan();
while(isWhiteSpace(n))
n=scan();
int neg=1;
if(n=='-')
{
neg=-1;
n=scan();
}
while(!isWhiteSpace(n))
{
if(n>='0'&&n<='9')
{
integer*=10;
integer+=n-'0';
n=scan();
}
else throw new InputMismatchException();
}
return neg*integer;
}
public double scanDouble()throws IOException
{
double doub=0;
int n=scan();
while(isWhiteSpace(n))
n=scan();
int neg=1;
if(n=='-')
{
neg=-1;
n=scan();
}
while(!isWhiteSpace(n)&&n!='.')
{
if(n>='0'&&n<='9')
{
doub*=10;
doub+=n-'0';
n=scan();
}
else throw new InputMismatchException();
}
if(n=='.')
{
n=scan();
double temp=1;
while(!isWhiteSpace(n))
{
if(n>='0'&&n<='9')
{
temp/=10;
doub+=(n-'0')*temp;
n=scan();
}
else throw new InputMismatchException();
}
}
return doub*neg;
}
public String scanString()throws IOException
{
StringBuilder sb=new StringBuilder();
int n=scan();
while(isWhiteSpace(n))
n=scan();
while(!isWhiteSpace(n))
{
sb.append((char)n);
n=scan();
}
return sb.toString();
}
private boolean isWhiteSpace(int n)
{
if(n==' '||n=='\n'||n=='\r'||n=='\t'||n==-1)
return true;
return false;
}
}
public static void main(String args[]) throws IOException {
Scan input=new Scan();
String str1=input.scanString();
String str2=input.scanString();
int cnt=0;
for(int i=0;i<str1.length();i++) {
if(str1.charAt(i)!=str2.charAt(i)) {
cnt++;
}
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
80,
8
],
[
80,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
49,
67
],
[
67,
68
],
[
68,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
9,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }",
"main",
"{\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String a = scan.next();",
"a",
"scan.next()",
"scan.next",
"scan",
"String b = scan.next();",
"b",
"scan.next()",
"scan.next",
"scan",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"Integer ll = a.length();",
"ll",
"a.length()",
"a.length",
"a",
"Integer ans = 0;",
"ans",
"0",
"for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ll",
"i",
"ll",
"i++",
"i++",
"i",
"{\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }",
"{\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }",
"if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }",
"!a.substring(i,i+1).equals(b.substring(i,i+1))",
"a.substring(i,i+1).equals(b.substring(i,i+1))",
"a.substring(i,i+1).equals",
"a.substring(i,i+1)",
"a.substring",
"a",
"i",
"i+1",
"i",
"1",
"b.substring(i,i+1)",
"b.substring",
"b",
"i",
"i+1",
"i",
"1",
"{\n ans++;\n }",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\n PrintWriter out = new PrintWriter(System.out);\n \n Integer ll = a.length();\n Integer ans = 0;\n \n for (int i=0;i<ll;i++) {\n if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {\n ans++;\n }\n }\n \n out.println(ans);\n out.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner scan = new Scanner(System.in);
String a = scan.next();
String b = scan.next();
PrintWriter out = new PrintWriter(System.out);
Integer ll = a.length();
Integer ans = 0;
for (int i=0;i<ll;i++) {
if (!a.substring(i,i+1).equals(b.substring(i,i+1))) {
ans++;
}
}
out.println(ans);
out.close();
}
}
|
[
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,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
107,
17
],
[
107,
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
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
107,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
66,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
84,
94
],
[
94,
95
],
[
55,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
53,
100
],
[
100,
101
],
[
53,
102
],
[
102,
103
],
[
53,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Task solver = new Task();",
"solver",
"new Task()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Task {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }\n\n }",
"Task",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }",
"solve",
"{\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"String t = in.next();",
"t",
"in.next()",
"in.next",
"in",
"int tot = 0;",
"tot",
"0",
"for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"++i",
"++i",
"i",
"{\n if (s.charAt(i) != t.charAt(i)) tot++;\n }",
"{\n if (s.charAt(i) != t.charAt(i)) tot++;\n }",
"if (s.charAt(i) != t.charAt(i)) tot++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"tot++",
"tot",
"out.println(tot)",
"out.println",
"out",
"tot",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String t = in.next();\n int tot = 0;\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) tot++;\n }\n out.println(tot);\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Task solver = new Task();
solver.solve(1, in, out);
out.close();
}
static class Task {
public void solve(int testNumber, Scanner in, PrintWriter out) {
String s = in.next();
String t = in.next();
int tot = 0;
for (int i = 0; i < s.length(); ++i) {
if (s.charAt(i) != t.charAt(i)) tot++;
}
out.println(tot);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
10,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
24,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
22,
69
],
[
69,
70
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n// https://atcoder.jp/contests/abc172/tasks/abc172_b\n\nclass Main {\n\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws IOException {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }\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\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws IOException {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }\n\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"static String S",
"S",
"T;",
"T",
"static int result = 0;",
"result",
"0",
"public static void main(String[] args) throws IOException {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }",
"main",
"{\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }",
"S = br.readLine()",
"S",
"br.readLine()",
"br.readLine",
"br",
"T = br.readLine()",
"T",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"{\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"if(S.charAt(i) != T.charAt(i)){\n result++;\n }",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n result++;\n }",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
// https://atcoder.jp/contests/abc172/tasks/abc172_b
class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static String S, T;
static int result = 0;
public static void main(String[] args) throws IOException {
S = br.readLine();
T = br.readLine();
for(int i = 0; i < S.length(); i++){
if(S.charAt(i) != T.charAt(i)){
result++;
}
}
System.out.println(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
17,
4,
18,
13,
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,
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,
41,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
13,
40,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
13,
41,
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,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
4,
18,
4,
18,
4,
13,
4,
18,
13,
13,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
18,
18,
13,
13,
13,
17,
2,
2,
2,
13,
13,
17,
17,
2,
2,
2,
13,
13,
17,
17,
30,
40,
13,
14,
2,
13,
13,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
526,
8
],
[
526,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
9,
14
],
[
14,
15
],
[
526,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
526,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
75,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
75,
89
],
[
89,
90
],
[
89,
91
],
[
75,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
92,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
109,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
107,
123
],
[
123,
124
],
[
124,
125
],
[
75,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
526,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
135,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
147,
158
],
[
158,
159
],
[
158,
160
],
[
147,
161
],
[
161,
162
],
[
161,
163
],
[
147,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
164,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
526,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
177,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
189,
200
],
[
200,
201
],
[
200,
202
],
[
189,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
206,
208
],
[
206,
209
],
[
206,
210
],
[
189,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
211,
215
],
[
189,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
216,
224
],
[
224,
225
],
[
225,
226
],
[
216,
227
],
[
228,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
228,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
238,
243
],
[
234,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
246,
251
],
[
234,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
234,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
262,
267
],
[
189,
268
],
[
268,
269
],
[
268,
270
],
[
189,
271
],
[
271,
272
],
[
271,
273
],
[
271,
274
],
[
275,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
276,
281
],
[
282,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
282,
287
],
[
275,
288
],
[
288,
289
],
[
526,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
297,
302
],
[
302,
303
],
[
302,
304
],
[
293,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
305,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
305,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
305,
330
],
[
330,
331
],
[
330,
332
],
[
305,
333
],
[
333,
334
],
[
333,
335
],
[
305,
336
],
[
336,
337
],
[
336,
338
],
[
305,
341
],
[
341,
342
],
[
341,
343
],
[
305,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
344,
349
],
[
349,
350
],
[
349,
351
],
[
344,
352
],
[
352,
353
],
[
353,
354
],
[
344,
355
],
[
356,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
356,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
362,
367
],
[
367,
368
],
[
367,
369
],
[
362,
370
],
[
370,
371
],
[
371,
372
],
[
362,
373
],
[
374,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
376,
380
],
[
375,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
389,
392
],
[
385,
393
],
[
385,
394
],
[
383,
395
],
[
383,
396
],
[
305,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
397,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
404,
406
],
[
397,
407
],
[
407,
408
],
[
408,
409
],
[
397,
410
],
[
411,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
412,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
419,
421
],
[
412,
422
],
[
422,
423
],
[
423,
424
],
[
412,
425
],
[
426,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
427,
432
],
[
432,
433
],
[
432,
434
],
[
427,
435
],
[
435,
436
],
[
436,
437
],
[
427,
438
],
[
439,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
440,
445
],
[
445,
446
],
[
445,
447
],
[
440,
448
],
[
448,
449
],
[
449,
450
],
[
440,
451
],
[
452,
452
],
[
452,
453
],
[
453,
454
],
[
455,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
456,
462
],
[
455,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
465,
467
],
[
464,
468
],
[
463,
469
],
[
455,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
471,
475
],
[
470,
476
],
[
453,
477
],
[
477,
478
],
[
478,
479
],
[
426,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
480,
484
],
[
484,
485
],
[
426,
486
],
[
486,
487
],
[
486,
488
],
[
305,
489
],
[
489,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
489,
494
],
[
526,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
499,
502
],
[
495,
503
],
[
503,
504
],
[
526,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
509,
512
],
[
505,
513
],
[
513,
514
],
[
526,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
519,
522
],
[
515,
523
],
[
523,
524
],
[
0,
525
],
[
525,
526
],
[
525,
527
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n}",
"Main",
"public static void main(String[] args) {\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }",
"main",
"{\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }",
"abc172_b()",
"abc172_b",
"String[] args",
"args",
"public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc172_a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int a = parseI(sc.next());",
"a",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3))",
"System.out.println",
"System.out",
"System",
"System.out",
"a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3)",
"a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3)",
"a",
"(int) Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"(int) Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc172_b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int ansCnt = 0;",
"ansCnt",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"{\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }",
"!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))",
"parseS(s.charAt(i)).equals(parseS(t.charAt(i)))",
"parseS(s.charAt(i)).equals",
"parseS(s.charAt(i))",
"parseS",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"parseS(t.charAt(i))",
"parseS",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n ansCnt++;\n }",
"ansCnt++",
"ansCnt",
"System.out.println(ansCnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansCnt",
"public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int payment = parseI(sc.next());",
"payment",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int max = 10000;",
"max",
"10000",
"int thou = 1000;",
"thou",
"1000",
"System.out.println((max - payment) % thou)",
"System.out.println",
"System.out",
"System",
"System.out",
"(max - payment) % thou",
"(max - payment)",
"max",
"payment",
"thou",
"public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int num = parseI(sc.next());",
"num",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int[] ansCount = new int[4];",
"ansCount",
"new int[4]",
"4",
"final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };",
"err",
"{ \"AC\", \"WA\", \"TLE\", \"RE\" }",
"\"AC\"",
"\"WA\"",
"\"TLE\"",
"\"RE\"",
"Arrays.fill(ansCount, 0)",
"Arrays.fill",
"Arrays",
"ansCount",
"0",
"for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"{\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"String ans = sc.next();",
"ans",
"sc.next()",
"sc.next",
"sc",
"switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }",
"ans",
"case \"AC\":",
"\"AC\"",
"case \"AC\":",
"ansCount[0]++",
"ansCount[0]",
"ansCount",
"0",
"break;",
"case \"WA\":",
"\"WA\"",
"case \"WA\":",
"ansCount[1]++",
"ansCount[1]",
"ansCount",
"1",
"break;",
"case \"TLE\":",
"\"TLE\"",
"case \"TLE\":",
"ansCount[2]++",
"ansCount[2]",
"ansCount",
"2",
"break;",
"case \"RE\":",
"\"RE\"",
"case \"RE\":",
"ansCount[3]++",
"ansCount[3]",
"ansCount",
"3",
"break;",
"int count = 0;",
"count",
"0",
"for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"int answer",
"ansCount",
"{\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"{\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"System.out.println(err[count] + \" x \" + answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"err[count] + \" x \" + answer",
"err[count] + \" x \" + answer",
"err[count]",
"err",
"count",
"\" x \"",
"answer",
"count++",
"count",
"public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_c",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int row = parseI(sc.next());",
"row",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int column = parseI(sc.next());",
"column",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int checkBlackCount = parseI(sc.next());",
"checkBlackCount",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int existBlack = 0;",
"existBlack",
"0",
"int ansCount = 0;",
"ansCount",
"0",
"int[][] inputList = new int[row][column];",
"inputList",
"new int[row][column]",
"row",
"column",
"String input = \"\";",
"input",
"\"\"",
"for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < row",
"i",
"row",
"i++",
"i++",
"i",
"{\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"{\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"input = sc.next()",
"input",
"sc.next()",
"sc.next",
"sc",
"for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < column",
"x",
"column",
"x++",
"x++",
"x",
"{\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"{\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"))",
"inputList[i][x]",
"inputList[i]",
"inputList",
"i",
"x",
"parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"))",
"parseI",
"parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\")",
"parseS(input.charAt(x)).replace(\".\", \"0\").replace",
"parseS(input.charAt(x)).replace(\".\", \"0\")",
"parseS(input.charAt(x)).replace",
"parseS(input.charAt(x))",
"parseS",
"input.charAt(x)",
"input.charAt",
"input",
"x",
"\".\"",
"\"0\"",
"\"#\"",
"\"1\"",
"for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < (1 << row)",
"i",
"(1 << row)",
"1",
"row",
"i++",
"i++",
"i",
"{\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"{\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < (1 << column)",
"x",
"(1 << column)",
"1",
"column",
"x++",
"x++",
"x",
"{\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"{\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"int chRownum = 0;",
"int chRownum = 0;",
"chRownum",
"0",
"chRownum < row",
"chRownum",
"row",
"chRownum++",
"chRownum++",
"chRownum",
"{\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"{\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"int chColNum = 0;",
"int chColNum = 0;",
"chColNum",
"0",
"chColNum < column",
"chColNum",
"column",
"chColNum++",
"chColNum++",
"chColNum",
"{\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"{\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }",
"inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0",
"inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0",
"inputList[chRownum][chColNum] == 1",
"inputList[chRownum][chColNum]",
"inputList[chRownum]",
"inputList",
"chRownum",
"chColNum",
"1",
"((i >> chRownum) & 1) == 0",
"((i >> chRownum) & 1)",
"(i >> chRownum)",
"i",
"chRownum",
"1",
"0",
"((x >> chColNum) & 1) == 0",
"((x >> chColNum) & 1)",
"(x >> chColNum)",
"x",
"chColNum",
"1",
"0",
"{\n existBlack++;\n }",
"existBlack++",
"existBlack",
"if (existBlack == checkBlackCount) ansCount++;",
"existBlack == checkBlackCount",
"existBlack",
"checkBlackCount",
"ansCount++",
"ansCount",
"existBlack = 0",
"existBlack",
"0",
"System.out.println(ansCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansCount",
"public static int parseI(String value) {\n return Integer.parseInt(value);\n }",
"parseI",
"{\n return Integer.parseInt(value);\n }",
"return Integer.parseInt(value);",
"Integer.parseInt(value)",
"Integer.parseInt",
"Integer",
"value",
"String value",
"value",
"public static double parseD(String value) {\n return Double.parseDouble(value);\n }",
"parseD",
"{\n return Double.parseDouble(value);\n }",
"return Double.parseDouble(value);",
"Double.parseDouble(value)",
"Double.parseDouble",
"Double",
"value",
"String value",
"value",
"public static <T> String parseS(T value) {\n return String.valueOf(value);\n }",
"parseS",
"{\n return String.valueOf(value);\n }",
"return String.valueOf(value);",
"String.valueOf(value)",
"String.valueOf",
"String",
"value",
"T value",
"value",
"public class Main {\n\n public static void main(String[] args) {\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n // abc173_a();\n // abc173_b();\n // abc173_c();\n // abc172_a();\n abc172_b();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// abc173_a();
// abc173_b();
// abc173_c();
// abc172_a();
abc172_b();
}
// int 2147483648 [ 2 * 10(9)]
// long 9223372036854775808 [ 9 * 10(18)]
public static void abc172_a() {
try (Scanner sc = new Scanner(System.in)) {
int a = parseI(sc.next());
System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc172_b() {
try (Scanner sc = new Scanner(System.in)) {
String s = sc.next();
String t = sc.next();
int ansCnt = 0;
for (int i = 0; i < s.length(); i++) {
if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {
ansCnt++;
}
}
System.out.println(ansCnt);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc173_a() {
try (Scanner sc = new Scanner(System.in)) {
int payment = parseI(sc.next());
int max = 10000;
int thou = 1000;
System.out.println((max - payment) % thou);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc173_b() {
try (Scanner sc = new Scanner(System.in)) {
int num = parseI(sc.next());
// AC
// WA
// TLE
// RE x 0
int[] ansCount = new int[4];
final String[] err = { "AC", "WA", "TLE", "RE" };
Arrays.fill(ansCount, 0);
for (int i = 0; i < num; i++) {
String ans = sc.next();
switch (ans) {
case "AC":
ansCount[0]++;
break;
case "WA":
ansCount[1]++;
break;
case "TLE":
ansCount[2]++;
break;
case "RE":
ansCount[3]++;
break;
}
}
int count = 0;
for (int answer : ansCount) {
System.out.println(err[count] + " x " + answer);
count++;
}
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc173_c() {
try (Scanner sc = new Scanner(System.in)) {
int row = parseI(sc.next());
int column = parseI(sc.next());
int checkBlackCount = parseI(sc.next());
int existBlack = 0;
int ansCount = 0;
int[][] inputList = new int[row][column];
String input = "";
for (int i = 0; i < row; i++) {
input = sc.next();
for (int x = 0; x < column; x++) {
inputList[i][x] =
parseI(parseS(input.charAt(x)).replace(".", "0").replace("#", "1"));
}
}
for (int i = 0; i < (1 << row); i++) {
for (int x = 0; x < (1 << column); x++) {
for (int chRownum = 0; chRownum < row; chRownum++) {
for (int chColNum = 0; chColNum < column; chColNum++) {
if (inputList[chRownum][chColNum] == 1
&& ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {
existBlack++;
}
}
}
if (existBlack == checkBlackCount) ansCount++;
existBlack = 0;
}
}
System.out.println(ansCount);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static int parseI(String value) {
return Integer.parseInt(value);
}
public static double parseD(String value) {
return Double.parseDouble(value);
}
public static <T> String parseS(T value) {
return String.valueOf(value);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
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
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"char[] list1 = reader.readLine().toCharArray();",
"list1",
"reader.readLine().toCharArray()",
"reader.readLine().toCharArray",
"reader.readLine()",
"reader.readLine",
"reader",
"char[] list2 = reader.readLine().toCharArray();",
"list2",
"reader.readLine().toCharArray()",
"reader.readLine().toCharArray",
"reader.readLine()",
"reader.readLine",
"reader",
"long res = 0;",
"res",
"0",
"for(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<list1.length",
"i",
"list1.length",
"list1",
"list1.length",
"i++",
"i++",
"i",
"{\n\t\tif(list1[i]!=list2[i]) res++;\n\t}",
"{\n\t\tif(list1[i]!=list2[i]) res++;\n\t}",
"if(list1[i]!=list2[i]) res++;",
"list1[i]!=list2[i]",
"list1[i]",
"list1",
"i",
"list2[i]",
"list2",
"i",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tchar[] list1 = reader.readLine().toCharArray();\n\tchar[] list2 = reader.readLine().toCharArray();\n\tlong res = 0;\n\tfor(int i = 0;i<list1.length;i++){\n\t\tif(list1[i]!=list2[i]) res++;\n\t}\n\tSystem.out.println(res);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
char[] list1 = reader.readLine().toCharArray();
char[] list2 = reader.readLine().toCharArray();
long res = 0;
for(int i = 0;i<list1.length;i++){
if(list1[i]!=list2[i]) res++;
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
13,
13,
41,
13,
20,
13,
17,
41,
13,
20,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
2,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
2,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
2,
2,
13,
17,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
2,
2,
13,
17,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
13,
42,
2,
2,
13,
13,
2,
13,
13,
30,
14,
2,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
40,
13,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
40,
13,
40,
13,
42,
2,
13,
13,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
40,
13,
40,
13,
42,
2,
13,
13,
30,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
40,
13,
40,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
4,
13,
13,
13,
13,
4,
13,
13,
2,
13,
17,
13,
4,
13,
13,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
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,
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
],
[
494,
20
],
[
494,
21
],
[
21,
22
],
[
21,
23
],
[
494,
24
],
[
24,
25
],
[
24,
26
],
[
494,
27
],
[
27,
28
],
[
27,
29
],
[
494,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
31,
47
],
[
47,
48
],
[
31,
49
],
[
49,
50
],
[
494,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
53,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
53,
66
],
[
66,
67
],
[
66,
68
],
[
53,
71
],
[
71,
72
],
[
71,
73
],
[
53,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
95,
101
],
[
88,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
53,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
128,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
138,
138
],
[
138,
139
],
[
138,
140
],
[
138,
141
],
[
134,
142
],
[
127,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
153,
153
],
[
153,
154
],
[
153,
155
],
[
153,
156
],
[
149,
157
],
[
53,
158
],
[
158,
159
],
[
158,
160
],
[
53,
161
],
[
161,
162
],
[
161,
163
],
[
53,
164
],
[
164,
165
],
[
164,
166
],
[
53,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
172,
174
],
[
167,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
177,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
176,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
189,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
188,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
188,
211
],
[
211,
212
],
[
176,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
214,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
213,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
225,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
213,
236
],
[
236,
237
],
[
175,
238
],
[
238,
239
],
[
53,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
245,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
244,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
256,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
244,
267
],
[
267,
268
],
[
244,
269
],
[
269,
270
],
[
53,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
276,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
275,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
287,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
275,
298
],
[
298,
299
],
[
275,
300
],
[
300,
301
],
[
51,
302
],
[
302,
303
],
[
51,
304
],
[
304,
305
],
[
51,
306
],
[
306,
307
],
[
51,
308
],
[
308,
309
],
[
494,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
317,
325
],
[
325,
326
],
[
325,
327
],
[
325,
328
],
[
325,
329
],
[
317,
330
],
[
330,
331
],
[
330,
332
],
[
330,
333
],
[
333,
334
],
[
333,
335
],
[
330,
336
],
[
317,
337
],
[
337,
338
],
[
337,
339
],
[
337,
340
],
[
337,
341
],
[
337,
342
],
[
312,
343
],
[
343,
344
],
[
310,
345
],
[
345,
346
],
[
310,
347
],
[
347,
348
],
[
310,
349
],
[
349,
350
],
[
494,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
353,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
353,
367
],
[
367,
368
],
[
367,
369
],
[
353,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
370,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
370,
380
],
[
380,
381
],
[
381,
382
],
[
370,
383
],
[
384,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
388,
389
],
[
387,
390
],
[
386,
391
],
[
391,
392
],
[
392,
393
],
[
391,
394
],
[
385,
395
],
[
395,
396
],
[
353,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
397,
402
],
[
351,
403
],
[
403,
404
],
[
494,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
405,
409
],
[
409,
410
],
[
405,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
405,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
420,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
430,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
419,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
405,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
449,
452
],
[
452,
453
],
[
405,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
459,
460
],
[
458,
461
],
[
461,
462
],
[
405,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
467,
470
],
[
470,
471
],
[
405,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
475,
476
],
[
475,
477
],
[
474,
478
],
[
478,
479
],
[
479,
480
],
[
479,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
478,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
489,
490
],
[
474,
491
],
[
491,
492
],
[
0,
493
],
[
493,
494
],
[
493,
495
]
]
| [
"\nimport java.io.*;\n\nimport java.lang.annotation.Native;\nimport java.math.BigInteger;\nimport java.util.*;\n\nimport java.util.ArrayList;\n\nimport java.util.Scanner;\n\n\npublic class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n static final int mod1 = 1073741824;\n\n public static int gcd(int a, int b) {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n static boolean prime[] = new boolean[1000001];\n public static void merge(long arr[][], int l, int m, int r)\n {\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }\n\n // Main function that sorts arr[l..r] using\n // merge()\n public static long[][] sort2elementarray(long arr[][], int l, int r)\n {\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }\n /*for(int j=2;j<=n;j++)\n {\n if(prime[j]==true)\n System.out.println(j);\n }*/\n\n\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.lang.annotation.Native;",
"Native",
"java.lang.annotation",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n static final int mod1 = 1073741824;\n\n public static int gcd(int a, int b) {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n static boolean prime[] = new boolean[1000001];\n public static void merge(long arr[][], int l, int m, int r)\n {\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }\n\n // Main function that sorts arr[l..r] using\n // merge()\n public static long[][] sort2elementarray(long arr[][], int l, int r)\n {\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }\n /*for(int j=2;j<=n;j++)\n {\n if(prime[j]==true)\n System.out.println(j);\n }*/\n\n\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }\n}",
"Main",
"static final int mod = 1000000007;",
"mod",
"1000000007",
"static final int mod1 = 1073741824;",
"mod1",
"1073741824",
"static boolean prime[] = new boolean[1000001];",
"prime",
"new boolean[1000001]",
"1000001",
"public static int gcd(int a, int b) {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"public static void merge(long arr[][], int l, int m, int r)\n {\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }",
"merge",
"{\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }",
"int n1 = m - l + 1;",
"n1",
"m - l + 1",
"m - l",
"m",
"l",
"1",
"int n2 = r - m;",
"n2",
"r - m",
"r",
"m",
"long L[][] = new long[n1][2];",
"L",
"new long[n1][2]",
"n1",
"2",
"long R[][] = new long[n2][2];",
"R",
"new long[n2][2]",
"n2",
"2",
"for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n1",
"i",
"n1",
"++i",
"++i",
"i",
"{\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }",
"{\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }",
"L[i][0] = arr[l + i][0]",
"L[i][0]",
"L[i]",
"L",
"i",
"0",
"arr[l + i][0]",
"arr[l + i]",
"arr",
"l + i",
"l",
"i",
"0",
"L[i][1] = arr[l + i][1]",
"L[i][1]",
"L[i]",
"L",
"i",
"1",
"arr[l + i][1]",
"arr[l + i]",
"arr",
"l + i",
"l",
"i",
"1",
"for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n2",
"j",
"n2",
"++j",
"++j",
"j",
"{\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }",
"{\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }",
"R[j][0] = arr[m + 1 + j][0]",
"R[j][0]",
"R[j]",
"R",
"j",
"0",
"arr[m + 1 + j][0]",
"arr[m + 1 + j]",
"arr",
"m + 1 + j",
"m + 1 + j",
"m",
"1",
"j",
"0",
"R[j][1] = arr[m + 1 + j][1]",
"R[j][1]",
"R[j]",
"R",
"j",
"1",
"arr[m + 1 + j][1]",
"arr[m + 1 + j]",
"arr",
"m + 1 + j",
"m + 1 + j",
"m",
"1",
"j",
"1",
"int i = 0",
"i",
"0",
"j = 0;",
"j",
"0",
"int k = l;",
"k",
"l",
"while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }",
"i < n1 && j < n2",
"i < n1",
"i",
"n1",
"j < n2",
"j",
"n2",
"{\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }",
"if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }",
"L[i][0] <= R[j][0]",
"L[i][0]",
"L[i]",
"L",
"i",
"0",
"R[j][0]",
"R[j]",
"R",
"j",
"0",
"{\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }",
"arr[k][0] = L[i][0]",
"arr[k][0]",
"arr[k]",
"arr",
"k",
"0",
"L[i][0]",
"L[i]",
"L",
"i",
"0",
"arr[k][1] = L[i][1]",
"arr[k][1]",
"arr[k]",
"arr",
"k",
"1",
"L[i][1]",
"L[i]",
"L",
"i",
"1",
"i++",
"i",
"{\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }",
"arr[k][0] = R[j][0]",
"arr[k][0]",
"arr[k]",
"arr",
"k",
"0",
"R[j][0]",
"R[j]",
"R",
"j",
"0",
"arr[k][1] = R[j][1]",
"arr[k][1]",
"arr[k]",
"arr",
"k",
"1",
"R[j][1]",
"R[j]",
"R",
"j",
"1",
"j++",
"j",
"k++",
"k",
"while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }",
"i < n1",
"i",
"n1",
"{\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }",
"arr[k][0] = L[i][0]",
"arr[k][0]",
"arr[k]",
"arr",
"k",
"0",
"L[i][0]",
"L[i]",
"L",
"i",
"0",
"arr[k][1] = L[i][1]",
"arr[k][1]",
"arr[k]",
"arr",
"k",
"1",
"L[i][1]",
"L[i]",
"L",
"i",
"1",
"i++",
"i",
"k++",
"k",
"while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }",
"j < n2",
"j",
"n2",
"{\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }",
"arr[k][0] = R[j][0]",
"arr[k][0]",
"arr[k]",
"arr",
"k",
"0",
"R[j][0]",
"R[j]",
"R",
"j",
"0",
"arr[k][1] = R[j][1]",
"arr[k][1]",
"arr[k]",
"arr",
"k",
"1",
"R[j][1]",
"R[j]",
"R",
"j",
"1",
"j++",
"j",
"k++",
"k",
"long arr[][]",
"arr",
"int l",
"l",
"int m",
"m",
"int r",
"r",
"// Main function that sorts arr[l..r] using\n // merge()\n public static long[][] sort2elementarray(long arr[][], int l, int r)\n {\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }",
"sort2elementarray",
"{\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }",
"if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }",
"l < r",
"l",
"r",
"{\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }",
"int m = (l + r) / 2;",
"m",
"(l + r) / 2",
"(l + r)",
"l",
"r",
"2",
"sort2elementarray(arr, l, m)",
"sort2elementarray",
"arr",
"l",
"m",
"sort2elementarray(arr, m + 1, r)",
"sort2elementarray",
"arr",
"m + 1",
"m",
"1",
"r",
"merge(arr, l, m, r)",
"merge",
"arr",
"l",
"m",
"r",
"return arr;",
"arr",
"long arr[][]",
"arr",
"int l",
"l",
"int r",
"r",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }",
"main",
"{\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"String s=sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String t=sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int c=0;",
"c",
"0",
"for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<s.length()",
"j",
"s.length()",
"s.length",
"s",
"j++",
"j++",
"j",
"{\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }",
"{\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }",
"if(s.charAt(j)!=t.charAt(j))\n c++;",
"s.charAt(j)!=t.charAt(j)",
"s.charAt(j)",
"s.charAt",
"s",
"j",
"t.charAt(j)",
"t.charAt",
"t",
"j",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n static final int mod1 = 1073741824;\n\n public static int gcd(int a, int b) {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n static boolean prime[] = new boolean[1000001];\n public static void merge(long arr[][], int l, int m, int r)\n {\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }\n\n // Main function that sorts arr[l..r] using\n // merge()\n public static long[][] sort2elementarray(long arr[][], int l, int r)\n {\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }\n /*for(int j=2;j<=n;j++)\n {\n if(prime[j]==true)\n System.out.println(j);\n }*/\n\n\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }\n}",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n static final int mod1 = 1073741824;\n\n public static int gcd(int a, int b) {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n static boolean prime[] = new boolean[1000001];\n public static void merge(long arr[][], int l, int m, int r)\n {\n // Find sizes of two subarrays to be merged\n int n1 = m - l + 1;\n int n2 = r - m;\n\n /* Create temp arrays */\n long L[][] = new long[n1][2];\n long R[][] = new long[n2][2];\n\n /*Copy data to temp arrays*/\n for (int i = 0; i < n1; ++i)\n {\n L[i][0] = arr[l + i][0];\n L[i][1] = arr[l + i][1];\n\n\n }\n\n for (int j = 0; j < n2; ++j) {\n R[j][0] = arr[m + 1 + j][0];\n R[j][1] = arr[m + 1 + j][1];\n }\n\n /* Merge the temp arrays */\n\n // Initial indexes of first and second subarrays\n int i = 0, j = 0;\n\n // Initial index of merged subarry array\n int k = l;\n while (i < n1 && j < n2) {\n if (L[i][0] <= R[j][0]) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n\n i++;\n }\n else {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n j++;\n }\n k++;\n }\n\n /* Copy remaining elements of L[] if any */\n while (i < n1) {\n arr[k][0] = L[i][0];\n arr[k][1] = L[i][1];\n i++;\n k++;\n }\n\n /* Copy remaining elements of R[] if any */\n while (j < n2) {\n arr[k][0] = R[j][0];\n arr[k][1] = R[j][1];\n\n j++;\n k++;\n }\n }\n\n // Main function that sorts arr[l..r] using\n // merge()\n public static long[][] sort2elementarray(long arr[][], int l, int r)\n {\n if (l < r) {\n // Find the middle point\n int m = (l + r) / 2;\n\n // Sort first and second halves\n sort2elementarray(arr, l, m);\n sort2elementarray(arr, m + 1, r);\n\n // Merge the sorted halves\n merge(arr, l, m, r);\n }\n return arr;\n }\n /*for(int j=2;j<=n;j++)\n {\n if(prime[j]==true)\n System.out.println(j);\n }*/\n\n\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s=sc.nextLine();\n String t=sc.nextLine();\n int c=0;\n for(int j=0;j<s.length();j++)\n {\n if(s.charAt(j)!=t.charAt(j))\n c++;\n }\n System.out.println(c);\n\n }\n}",
"Main"
]
|
import java.io.*;
import java.lang.annotation.Native;
import java.math.BigInteger;
import java.util.*;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
static final int mod = 1000000007;
static final int mod1 = 1073741824;
public static int gcd(int a, int b) {
if (a == 0)
return b;
return gcd(b % a, a);
}
static boolean prime[] = new boolean[1000001];
public static void merge(long arr[][], int l, int m, int r)
{
// Find sizes of two subarrays to be merged
int n1 = m - l + 1;
int n2 = r - m;
/* Create temp arrays */
long L[][] = new long[n1][2];
long R[][] = new long[n2][2];
/*Copy data to temp arrays*/
for (int i = 0; i < n1; ++i)
{
L[i][0] = arr[l + i][0];
L[i][1] = arr[l + i][1];
}
for (int j = 0; j < n2; ++j) {
R[j][0] = arr[m + 1 + j][0];
R[j][1] = arr[m + 1 + j][1];
}
/* Merge the temp arrays */
// Initial indexes of first and second subarrays
int i = 0, j = 0;
// Initial index of merged subarry array
int k = l;
while (i < n1 && j < n2) {
if (L[i][0] <= R[j][0]) {
arr[k][0] = L[i][0];
arr[k][1] = L[i][1];
i++;
}
else {
arr[k][0] = R[j][0];
arr[k][1] = R[j][1];
j++;
}
k++;
}
/* Copy remaining elements of L[] if any */
while (i < n1) {
arr[k][0] = L[i][0];
arr[k][1] = L[i][1];
i++;
k++;
}
/* Copy remaining elements of R[] if any */
while (j < n2) {
arr[k][0] = R[j][0];
arr[k][1] = R[j][1];
j++;
k++;
}
}
// Main function that sorts arr[l..r] using
// merge()
public static long[][] sort2elementarray(long arr[][], int l, int r)
{
if (l < r) {
// Find the middle point
int m = (l + r) / 2;
// Sort first and second halves
sort2elementarray(arr, l, m);
sort2elementarray(arr, m + 1, r);
// Merge the sorted halves
merge(arr, l, m, r);
}
return arr;
}
/*for(int j=2;j<=n;j++)
{
if(prime[j]==true)
System.out.println(j);
}*/
public static void main(String[] args) {
FastReader sc = new FastReader();
String s=sc.nextLine();
String t=sc.nextLine();
int c=0;
for(int j=0;j<s.length();j++)
{
if(s.charAt(j)!=t.charAt(j))
c++;
}
System.out.println(c);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
42,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] arg) {\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] arg) {\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] arg) {\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int count = S.length();",
"count",
"S.length()",
"S.length",
"S",
"for (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}",
"if (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}",
"Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))",
"Objects.equals",
"Objects",
"S.substring(i, i + 1)",
"S.substring",
"S",
"i",
"i + 1",
"i",
"1",
"T.substring(i, i + 1)",
"T.substring",
"T",
"i",
"i + 1",
"i",
"1",
"{\n\t\t\t\tcount -= 1;\n\t\t\t}",
"count -= 1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] arg",
"arg",
"public class Main{\n public static void main(String[] arg) {\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main{\n public static void main(String[] arg) {\n\n\t\tScanner sc = new Scanner(System.in);//文字の入力\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = S.length();//何文字かをcountに代入\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t//Objects.equals(a,b);で文字列の比較\n\t\t\tif (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {\n\t\t\t\tcount -= 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] arg) {
Scanner sc = new Scanner(System.in);//文字の入力
String S = sc.next();
String T = sc.next();
int count = S.length();//何文字かをcountに代入
for (int i = 0; i < S.length(); i++) {
//Objects.equals(a,b);で文字列の比較
if (Objects.equals(S.substring(i, i + 1), T.substring(i, i + 1))) {
count -= 1;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
117,
8
],
[
117,
9
],
[
9,
10
],
[
117,
11
],
[
11,
12
],
[
117,
13
],
[
13,
14
],
[
117,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
17,
33
],
[
33,
34
],
[
33,
35
],
[
17,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
36,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
15,
68
],
[
68,
69
],
[
117,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
117,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
117,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
117,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
100,
109
],
[
109,
110
],
[
109,
111
],
[
99,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
]
| [
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"char S[] = next().toCharArray();",
"S",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"char T[] = next().toCharArray();",
"T",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"int ans = 0;",
"ans",
"0",
"for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length",
"i",
"S.length",
"S",
"S.length",
"i++",
"i++",
"i",
"{\n if(S[i]!=T[i]){\n ans ++;\n }\n }",
"{\n if(S[i]!=T[i]){\n ans ++;\n }\n }",
"if(S[i]!=T[i]){\n ans ++;\n }",
"S[i]!=T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n ans ++;\n }",
"ans ++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n char S[] = next().toCharArray();\n char T[] = next().toCharArray();\n\n int ans = 0;\n\n for (int i=0; i<S.length; i++) {\n if(S[i]!=T[i]){\n ans ++;\n }\n }\n\n \n System.out.println(ans);\n \n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
char S[] = next().toCharArray();
char T[] = next().toCharArray();
int ans = 0;
for (int i=0; i<S.length; i++) {
if(S[i]!=T[i]){
ans ++;
}
}
System.out.println(ans);
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
4,
18,
13,
4,
18,
13,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int ans = 0;",
"ans",
"0",
"if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }",
"a.length() != b.length()",
"a.length()",
"a.length",
"a",
"b.length()",
"b.length",
"b",
"{\n System.out.println(\"-1\");\n }",
"System.out.println(\"-1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"-1\"",
"for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }",
"{\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }",
"if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }",
"a.charAt(i) != b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n \n int ans = 0;\n \n if(a.length() != b.length()) {\n System.out.println(\"-1\");\n }\n \n for(int i=0; i<a.length(); i++) {\n if(a.charAt(i) != b.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int ans = 0;
if(a.length() != b.length()) {
System.out.println("-1");
}
for(int i=0; i<a.length(); i++) {
if(a.charAt(i) != b.charAt(i)) {
ans++;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String[] a = scanner.next().split(\"\");",
"a",
"scanner.next().split(\"\")",
"scanner.next().split",
"scanner.next()",
"scanner.next",
"scanner",
"\"\"",
"String[] b = scanner.next().split(\"\");",
"b",
"scanner.next().split(\"\")",
"scanner.next().split",
"scanner.next()",
"scanner.next",
"scanner",
"\"\"",
"scanner.close()",
"scanner.close",
"scanner",
"int result = 0;",
"result",
"0",
"for (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}",
"{\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}",
"if (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}",
"a[i].equals(b[i])",
"a[i].equals",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"{\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tresult++;\n\t\t\t}",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString[] a = scanner.next().split(\"\");\n\t\tString[] b = scanner.next().split(\"\");\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = 0;\n\t\t\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\t\n\t\t\tif (a[i].equals(b[i])) {\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] a = scanner.next().split("");
String[] b = scanner.next().split("");
scanner.close();
int result = 0;
for (int i = 0; i < a.length; i++) {
if (a[i].equals(b[i])) {
} else {
result++;
}
}
System.out.println(result);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
40,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\n\t\tsc.close();\n\t}\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int cn = 0;",
"cn",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}",
"if (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}",
"s.substring(i, i + 1).equals(t.substring(i, i + 1))",
"s.substring(i, i + 1).equals",
"s.substring(i, i + 1)",
"s.substring",
"s",
"i",
"i + 1",
"i",
"1",
"t.substring(i, i + 1)",
"t.substring",
"t",
"i",
"i + 1",
"i",
"1",
"{\n\n\t\t\t}",
"{\n\t\t\t\tcn++;\n\t\t\t}",
"cn++",
"cn",
"System.out.println(cn)",
"System.out.println",
"System.out",
"System",
"System.out",
"cn",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint cn = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {\n\n\t\t\t} else {\n\t\t\t\tcn++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(cn);\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int cn = 0;
for (int i = 0; i < s.length(); i++) {
if (s.substring(i, i + 1).equals(t.substring(i, i + 1))) {
} else {
cn++;
}
}
System.out.println(cn);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
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
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] s = sc.nextLine().toCharArray();",
"s",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char[] t = sc.nextLine().toCharArray();",
"t",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int incorrect = 0;",
"incorrect",
"0",
"for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if(s[i] != t[i]) incorrect++;\n }",
"{\n if(s[i] != t[i]) incorrect++;\n }",
"if(s[i] != t[i]) incorrect++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"incorrect++",
"incorrect",
"System.out.println(incorrect)",
"System.out.println",
"System.out",
"System",
"System.out",
"incorrect",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n int incorrect = 0;\n for(int i = 0;i < s.length;i++){\n if(s[i] != t[i]) incorrect++;\n }\n System.out.println(incorrect);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
char[] s = sc.nextLine().toCharArray();
char[] t = sc.nextLine().toCharArray();
int incorrect = 0;
for(int i = 0;i < s.length;i++){
if(s[i] != t[i]) incorrect++;
}
System.out.println(incorrect);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\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 int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = 0;",
"count",
"0",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"String[] SS = S.split(\"\");",
"SS",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] TT = T.split(\"\");",
"TT",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < SS.length",
"i",
"SS.length",
"SS",
"SS.length",
"i++",
"i++",
"i",
"{\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }",
"{\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }",
"if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }",
"!SS[i].equals(TT[i])",
"SS[i].equals(TT[i])",
"SS[i].equals",
"SS[i]",
"SS",
"i",
"TT[i]",
"TT",
"i",
"{\n SS[i] = TT[i];\n count = count + 1;\n }",
"SS[i] = TT[i]",
"SS[i]",
"SS",
"i",
"TT[i]",
"TT",
"i",
"count = count + 1",
"count",
"count + 1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int count = 0;\n\t\tString S = sc.next(); \n String T = sc.next(); \n String[] SS = S.split(\"\");\n String[] TT = T.split(\"\"); \n for (int i = 0; i < SS.length; i++) {\n if(!SS[i].equals(TT[i])){\n SS[i] = TT[i];\n count = count + 1;\n }\n }\n \n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int count = 0;
String S = sc.next();
String T = sc.next();
String[] SS = S.split("");
String[] TT = T.split("");
for (int i = 0; i < SS.length; i++) {
if(!SS[i].equals(TT[i])){
SS[i] = TT[i];
count = count + 1;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
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,
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,
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,
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,
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,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
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,
2,
2,
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,
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,
6,
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,
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
],
[
11,
13
],
[
7,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
16,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
14,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
7,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
44,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
44,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
36,
71
],
[
71,
72
],
[
34,
73
],
[
73,
74
],
[
34,
75
],
[
75,
76
],
[
7,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
79,
86
],
[
86,
87
],
[
86,
88
],
[
79,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
79,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
79,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
99,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
115,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
114,
124
],
[
124,
125
],
[
79,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
79,
130
],
[
130,
131
],
[
131,
132
],
[
79,
133
],
[
133,
134
],
[
134,
135
],
[
77,
136
],
[
136,
137
],
[
7,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
138,
146
],
[
146,
147
],
[
138,
148
],
[
148,
149
],
[
138,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
152,
160
],
[
160,
161
],
[
138,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
165,
170
],
[
170,
171
],
[
164,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
180,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
176,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
198,
199
],
[
164,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
138,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
207,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
207,
221
],
[
221,
222
],
[
221,
223
],
[
207,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
207,
237
],
[
237,
238
],
[
237,
239
],
[
207,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
240,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
251,
253
],
[
246,
254
],
[
254,
255
],
[
245,
256
],
[
256,
257
],
[
256,
258
],
[
245,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
261,
263
],
[
245,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
207,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
138,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
274,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
274,
288
],
[
288,
289
],
[
288,
290
],
[
274,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
291,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
295,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
274,
304
],
[
304,
305
],
[
304,
306
],
[
274,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
307,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
318,
320
],
[
313,
321
],
[
321,
322
],
[
312,
323
],
[
323,
324
],
[
323,
325
],
[
312,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
328,
330
],
[
312,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
274,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
138,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
346,
351
],
[
351,
352
],
[
351,
353
],
[
346,
354
],
[
354,
355
],
[
355,
356
],
[
346,
357
],
[
358,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
363,
364
],
[
341,
365
],
[
365,
366
],
[
339,
367
],
[
367,
368
],
[
138,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
371,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
376,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
371,
385
],
[
385,
386
],
[
385,
387
],
[
371,
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
],
[
371,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
138,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
408,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
413,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
408,
421
],
[
421,
422
],
[
421,
423
],
[
408,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
424,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
430,
433
],
[
429,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
408,
438
],
[
438,
439
],
[
439,
440
],
[
440,
441
],
[
138,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
445,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
450,
453
],
[
444,
454
],
[
454,
455
],
[
458,
456
],
[
468,
457
],
[
465,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
458,
462
],
[
462,
463
],
[
462,
464
],
[
465,
465
],
[
465,
466
],
[
465,
467
],
[
468,
468
],
[
468,
469
],
[
468,
470
],
[
458,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
442,
475
],
[
475,
476
],
[
138,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
480,
481
],
[
482,
482
],
[
482,
483
],
[
483,
484
],
[
483,
485
],
[
482,
486
],
[
486,
487
],
[
486,
488
],
[
482,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
477,
493
],
[
493,
494
],
[
138,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
7,
501
],
[
501,
502
],
[
501,
503
],
[
503,
504
],
[
501,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
505,
511
],
[
511,
512
],
[
501,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
516,
520
],
[
513,
521
],
[
521,
522
],
[
501,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
526,
531
],
[
531,
532
],
[
531,
533
],
[
533,
534
],
[
533,
535
],
[
526,
536
],
[
536,
537
],
[
537,
538
],
[
526,
539
],
[
540,
540
],
[
540,
541
],
[
541,
542
],
[
542,
543
],
[
542,
544
],
[
541,
545
],
[
545,
546
],
[
546,
547
],
[
545,
548
],
[
540,
549
],
[
549,
550
],
[
550,
551
],
[
549,
552
],
[
552,
553
],
[
552,
554
],
[
523,
555
],
[
555,
556
],
[
501,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
560,
561
],
[
560,
562
],
[
559,
563
],
[
563,
564
],
[
564,
565
],
[
557,
566
],
[
566,
567
],
[
501,
568
],
[
568,
569
],
[
568,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
501,
574
],
[
574,
575
],
[
574,
576
],
[
576,
577
],
[
577,
578
],
[
578,
579
],
[
7,
580
],
[
580,
581
],
[
580,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
584,
589
],
[
589,
590
],
[
590,
591
],
[
591,
592
],
[
591,
593
],
[
589,
594
],
[
594,
595
],
[
594,
596
],
[
589,
597
],
[
597,
598
],
[
598,
599
],
[
589,
600
],
[
600,
601
],
[
601,
602
],
[
602,
603
],
[
602,
604
],
[
601,
605
],
[
605,
606
],
[
606,
607
],
[
584,
608
],
[
608,
609
],
[
582,
610
],
[
610,
611
],
[
582,
612
],
[
612,
613
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long res = 0;\n String s = in.nextLine();\n String t = in.nextLine();\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }\n out.printLine(res);\n out.flush();\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long res = 0;\n String s = in.nextLine();\n String t = in.nextLine();\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }\n out.printLine(res);\n out.flush();\n out.close();\n }\n}",
"Main",
"static int mod = (int)(1e9+7);",
"mod",
"(int)(1e9+7)",
"1e9",
"7",
"static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }",
"gcd",
"{ \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }",
"if (a == 0) \n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }",
"pow",
"{\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }",
"long ans = 1;",
"ans",
"1",
"while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }",
"b> 0",
"b",
"0",
"{\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }",
"if((b & 1)==1){\n ans = (ans*a) % mod; \n }",
"(b & 1)==1",
"(b & 1)",
"b",
"1",
"1",
"{\n ans = (ans*a) % mod; \n }",
"ans = (ans*a) % mod",
"ans",
"(ans*a) % mod",
"(ans*a)",
"ans",
"a",
"mod",
"a = (a*a) % mod",
"a",
"(a*a) % mod",
"(a*a)",
"a",
"a",
"mod",
"b = b>>1",
"b",
"b>>1",
"b",
"1",
"return ans;",
"ans",
"long a",
"a",
"long b",
"b",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long res = 0;\n String s = in.nextLine();\n String t = in.nextLine();\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }\n out.printLine(res);\n out.flush();\n out.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long res = 0;\n String s = in.nextLine();\n String t = in.nextLine();\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }\n out.printLine(res);\n out.flush();\n out.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"OutputWriter out = new OutputWriter(System.out);",
"out",
"new OutputWriter(System.out)",
"long res = 0;",
"res",
"0",
"String s = in.nextLine();",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"String t = in.nextLine();",
"t",
"in.nextLine()",
"in.nextLine",
"in",
"for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }",
"{\n if(s.charAt(i)!=t.charAt(i))\n res++;\n }",
"if(s.charAt(i)!=t.charAt(i))\n res++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"res++",
"res",
"out.printLine(res)",
"out.printLine",
"out",
"res",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"private 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 snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"snext",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c))\n c = snext();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}",
"OutputWriter",
"{\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}",
"OutputWriter",
"{\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}",
"print",
"{\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}",
"for (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"if (i != 0)\n\t\t\t\t\twriter.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) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}",
"printLine",
"{\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object...objects",
"objects",
"public void close() {\n\t\t\twriter.close();\n\t\t}",
"close",
"{\n\t\t\twriter.close();\n\t\t}",
"writer.close()",
"writer.close",
"writer",
"public void flush() {\n\t\t\twriter.flush();\n\t\t}",
"flush",
"{\n\t\t\twriter.flush();\n\t\t}",
"writer.flush()",
"writer.flush",
"writer",
"static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }",
"IOUtils",
"public static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }",
"readIntArray",
"{\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }",
"int[] array = new int[size];",
"array",
"new int[size]",
"size",
"for (int i = 0; i < size; i++)\n array[i] = in.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"array[i] = in.nextInt();",
"array[i] = in.nextInt()",
"array[i]",
"array",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"return array;",
"array",
"InputReader in",
"in",
"int size",
"size"
]
| import java.util.*;
import java.io.*;
class Main{
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int snext() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public String readString() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = snext();
while (isSpaceChar(c))
c = snext();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isEndOfLine(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;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || 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 printLine(Object...objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
public void flush() {
writer.flush();
}
}
static class IOUtils {
public static int[] readIntArray(InputReader in, int size) {
int[] array = new int[size];
for (int i = 0; i < size; i++)
array[i] = in.nextInt();
return array;
}
}
static int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
static int mod = (int)(1e9+7);
public static long pow(long a,long b)
{
long ans = 1;
while(b> 0)
{
if((b & 1)==1){
ans = (ans*a) % mod;
}
a = (a*a) % mod;
b = b>>1;
}
return ans;
}
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
OutputWriter out = new OutputWriter(System.out);
//IOUtils io = new IOUtils();
long res = 0;
String s = in.nextLine();
String t = in.nextLine();
for(int i=0;i<s.length();i++)
{
if(s.charAt(i)!=t.charAt(i))
res++;
}
out.printLine(res);
out.flush();
out.close();
}
} |
[
7,
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,
17,
41,
13,
17,
41,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
13,
13,
29,
17,
12,
13,
30,
41,
13,
17,
0,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
18,
13,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
2,
18,
18,
13,
2,
13,
17,
2,
13,
17,
18,
18,
13,
2,
13,
17,
13,
0,
18,
18,
13,
13,
13,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
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,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
17,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
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,
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,
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,
29,
4,
18,
13,
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,
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
],
[
707,
20
],
[
707,
21
],
[
21,
22
],
[
21,
23
],
[
707,
24
],
[
24,
25
],
[
24,
26
],
[
707,
27
],
[
27,
28
],
[
27,
29
],
[
707,
30
],
[
30,
31
],
[
30,
32
],
[
707,
33
],
[
33,
34
],
[
707,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
35,
56
],
[
56,
57
],
[
707,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
58,
74
],
[
74,
75
],
[
58,
76
],
[
76,
77
],
[
707,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
78,
90
],
[
90,
91
],
[
78,
92
],
[
92,
93
],
[
707,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
96,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
96,
139
],
[
139,
140
],
[
139,
141
],
[
96,
142
],
[
142,
143
],
[
707,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
146,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
155,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
167,
173
],
[
146,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
174,
185
],
[
186,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
187,
195
],
[
195,
196
],
[
196,
197
],
[
187,
198
],
[
199,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
210,
212
],
[
207,
213
],
[
213,
214
],
[
213,
215
],
[
206,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
216,
222
],
[
199,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
223,
229
],
[
707,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
233,
236
],
[
230,
237
],
[
237,
238
],
[
707,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
239,
246
],
[
246,
247
],
[
707,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
707,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
257,
260
],
[
254,
261
],
[
261,
262
],
[
707,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
263,
270
],
[
270,
271
],
[
707,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
275,
278
],
[
272,
279
],
[
279,
280
],
[
707,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
284,
287
],
[
281,
288
],
[
288,
289
],
[
707,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
707,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
300,
303
],
[
297,
304
],
[
304,
305
],
[
707,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
306,
313
],
[
313,
314
],
[
707,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
315,
319
],
[
319,
320
],
[
315,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
323,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
321,
334
],
[
334,
335
],
[
321,
336
],
[
336,
337
],
[
707,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
342,
344
],
[
338,
345
],
[
345,
346
],
[
345,
347
],
[
338,
349
],
[
349,
350
],
[
349,
351
],
[
338,
352
],
[
352,
353
],
[
352,
354
],
[
338,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
362
],
[
362,
363
],
[
363,
364
],
[
358,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
369,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
379,
382
],
[
365,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
388,
389
],
[
357,
390
],
[
390,
391
],
[
338,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
395,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
395,
403
],
[
403,
404
],
[
404,
405
],
[
338,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
414,
416
],
[
406,
417
],
[
417,
418
],
[
338,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
423,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
429,
431
],
[
422,
432
],
[
432,
433
],
[
338,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
436,
439
],
[
439,
440
],
[
440,
441
],
[
338,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
445,
449
],
[
449,
450
],
[
444,
451
],
[
451,
452
],
[
451,
453
],
[
444,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
444,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
458,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
463,
466
],
[
462,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
444,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
338,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
480,
481
],
[
478,
482
],
[
482,
483
],
[
477,
484
],
[
484,
485
],
[
484,
486
],
[
477,
487
],
[
487,
488
],
[
487,
489
],
[
477,
490
],
[
490,
491
],
[
490,
492
],
[
492,
493
],
[
477,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
494,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
498,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
477,
506
],
[
506,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
507,
511
],
[
511,
512
],
[
511,
513
],
[
506,
514
],
[
514,
515
],
[
515,
516
],
[
477,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
521,
525
],
[
525,
526
],
[
525,
527
],
[
520,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
528,
532
],
[
532,
533
],
[
532,
534
],
[
534,
535
],
[
534,
536
],
[
520,
537
],
[
537,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
538,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
537,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
549,
553
],
[
537,
554
],
[
554,
555
],
[
555,
556
],
[
519,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
338,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
338,
567
],
[
567,
568
],
[
567,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
571,
574
],
[
574,
575
],
[
338,
576
],
[
576,
577
],
[
576,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
585,
586
],
[
585,
587
],
[
581,
588
],
[
588,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
588,
593
],
[
593,
594
],
[
593,
595
],
[
588,
596
],
[
596,
597
],
[
597,
598
],
[
588,
599
],
[
600,
600
],
[
600,
601
],
[
601,
602
],
[
602,
603
],
[
602,
604
],
[
601,
605
],
[
605,
606
],
[
606,
607
],
[
581,
608
],
[
608,
609
],
[
579,
610
],
[
610,
611
],
[
611,
612
],
[
611,
613
],
[
610,
615
],
[
615,
616
],
[
616,
617
],
[
617,
618
],
[
617,
619
],
[
615,
620
],
[
620,
621
],
[
620,
622
],
[
615,
623
],
[
623,
624
],
[
624,
625
],
[
615,
626
],
[
627,
627
],
[
627,
628
],
[
628,
629
],
[
629,
630
],
[
629,
631
],
[
628,
632
],
[
632,
633
],
[
633,
634
],
[
610,
635
],
[
635,
636
],
[
576,
637
],
[
637,
638
],
[
576,
639
],
[
639,
640
],
[
338,
641
],
[
641,
642
],
[
641,
643
],
[
643,
644
],
[
644,
645
],
[
644,
646
],
[
646,
647
],
[
647,
648
],
[
647,
649
],
[
650,
651
],
[
650,
652
],
[
646,
653
],
[
653,
654
],
[
654,
655
],
[
655,
656
],
[
655,
657
],
[
653,
658
],
[
658,
659
],
[
658,
660
],
[
653,
661
],
[
661,
662
],
[
662,
663
],
[
653,
664
],
[
665,
665
],
[
665,
666
],
[
666,
667
],
[
667,
668
],
[
667,
669
],
[
666,
670
],
[
670,
671
],
[
671,
672
],
[
646,
673
],
[
673,
674
],
[
644,
675
],
[
675,
676
],
[
676,
677
],
[
676,
678
],
[
675,
680
],
[
680,
681
],
[
681,
682
],
[
682,
683
],
[
682,
684
],
[
680,
685
],
[
685,
686
],
[
685,
687
],
[
680,
688
],
[
688,
689
],
[
689,
690
],
[
680,
691
],
[
692,
692
],
[
692,
693
],
[
693,
694
],
[
694,
695
],
[
694,
696
],
[
693,
697
],
[
697,
698
],
[
698,
699
],
[
675,
700
],
[
700,
701
],
[
641,
702
],
[
702,
703
],
[
641,
704
],
[
704,
705
],
[
0,
706
],
[
706,
707
],
[
706,
708
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.NoSuchElementException;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\n\t\n\t\n\t\n\tprivate static int mod=1000000007;\n\tprivate static int slover() {\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\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\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 double nextDouble(){\n\t \treturn Double.parseDouble(next());\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}\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\n\t\n\t\n\t\n\tprivate static int mod=1000000007;\n\tprivate static int slover() {\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\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\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 double nextDouble(){\n\t \treturn Double.parseDouble(next());\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}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"private static int INF =1000000007;",
"INF",
"1000000007",
"private static int mod=1000000007;",
"mod",
"1000000007",
"private static long[][] com;",
"com",
"public static void main(String[] args) {\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}",
"main",
"{\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}",
"for(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<1",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}",
"{\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}",
"slover()",
"slover",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }",
"gcd",
"{\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }",
"if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);",
"num2==0",
"num2",
"0",
"return num1;",
"num1",
"return gcd(num2,num1%num2);",
"gcd(num2,num1%num2)",
"gcd",
"num2",
"num1%num2",
"num1",
"num2",
"long num1",
"num1",
"long num2",
"num2",
"public static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}",
"lcm",
"{\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}",
"return num1*num2/gcd(num1,num2);",
"num1*num2/gcd(num1,num2)",
"num1*num2",
"num1",
"num2",
"gcd(num1,num2)",
"gcd",
"num1",
"num2",
"long num1",
"num1",
"long num2",
"num2",
"private static int slover() {\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}",
"slover",
"{\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}",
"int t=0;",
"t",
"0",
"char a[]=sc.next().toCharArray();",
"a",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"char b[] =sc.next().toCharArray();",
"b",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"for(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}",
"{\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}",
"if(a[i]!=b[i])t++;",
"a[i]!=b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"t++",
"t",
"p(t)",
"p",
"t",
"return 1;",
"1",
"private static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}",
"nCr",
"{\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}",
"int MAX = 3001;",
"MAX",
"3001",
"com= new long[MAX][MAX]",
"com",
"new long[MAX][MAX]",
"MAX",
"MAX",
"for(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < MAX",
"i",
"MAX",
"i++",
"i++",
"i",
"com[i][0] = 1;",
"com[i][0] = 1",
"com[i][0]",
"com[i]",
"com",
"i",
"0",
"1",
"for(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < MAX",
"i",
"MAX",
"i++",
"i++",
"i",
"{\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"{\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"{\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"com[i][j] = com[i-1][j-1] + com[i-1][j]",
"com[i][j]",
"com[i]",
"com",
"i",
"j",
"com[i-1][j-1] + com[i-1][j]",
"com[i-1][j-1]",
"com[i-1]",
"com",
"i-1",
"i",
"1",
"j-1",
"j",
"1",
"com[i-1][j]",
"com[i-1]",
"com",
"i-1",
"i",
"1",
"j",
"com[i][j] %= mod",
"com[i][j]",
"com[i]",
"com",
"i",
"j",
"mod",
"static void p(String ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"String ans",
"ans",
"static void p(int ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"int ans",
"ans",
"static void p() {out.println();}",
"p",
"{out.println();}",
"out.println()",
"out.println",
"out",
"static void p(long ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"long ans",
"ans",
"static void p(double ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"double ans",
"ans",
"static void pn(String ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"String ans",
"ans",
"static void pn(int ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"int ans",
"ans",
"static void pn() {out.print(\"\");}",
"pn",
"{out.print(\"\");}",
"out.print(\"\")",
"out.print",
"out",
"\"\"",
"static void pn(long ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"long ans",
"ans",
"static void pn(double ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"double ans",
"ans",
"private static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}",
"D",
"int a",
"a",
"b;",
"b",
"D(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}",
"D",
"{\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}",
"this.a=a",
"this.a",
"this",
"this.a",
"a",
"this.b=b",
"this.b",
"this",
"this.b",
"b",
"int a",
"a",
"int b",
"b",
"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\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 double nextDouble(){\n\t \treturn Double.parseDouble(next());\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 }",
"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 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 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 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 class Main {\n\tpublic static void main(String[] args) {\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\n\t\n\t\n\t\n\tprivate static int mod=1000000007;\n\tprivate static int slover() {\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\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\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 double nextDouble(){\n\t \treturn Double.parseDouble(next());\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}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tfor(int i=0;i<1;i++) {\n\t\t\tslover();\n\t\t\tout.flush();\n\t\t}\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\n\t\n\t\n\t\n\tprivate static int mod=1000000007;\n\tprivate static int slover() {\n\t\t\n\t\tint t=0;\n\t\t\n\t\tchar a[]=sc.next().toCharArray();\n\t\tchar b[] =sc.next().toCharArray();\n\t\t\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tif(a[i]!=b[i])t++;\n\t\t}\n\t\tp(t);\n\t\t\n\t\t\n\t\t\n\t\treturn 1;\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\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\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 double nextDouble(){\n\t \treturn Double.parseDouble(next());\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}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
for(int i=0;i<1;i++) {
slover();
out.flush();
}
}
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
//StringBuffer S = new StringBuffer(sc.next());
//String hoge2 = str.reverse().toString();
//map.containsKey(A)
//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);
/*for ( キーのデータ型 key : マップの名前.keySet() ) {
データのデータ型 data = マップの名前.get( key );
// keyやdataを使った処理;
}*/
//int i = Integer.parseInt(s);
//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される
//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意
//stackdfsは後ろから実行される
//ArrayList<Integer> cc = new ArrayList<>(N);
//cc.contains(tmp)
//Arrays.asList(c).contains("a")
//list.set(1,"walk");//1 1 2 3 5
private static int INF =1000000007;
public static long gcd(long num1,long num2) {
if(num2==0) return num1;
else return gcd(num2,num1%num2);
}
public static long lcm(long num1,long num2) {
return num1*num2/gcd(num1,num2);
}
private static class D{
int a,b;
D(int a,int b){
this.a=a;;
this.b=b;
}
}
private static int mod=1000000007;
private static int slover() {
int t=0;
char a[]=sc.next().toCharArray();
char b[] =sc.next().toCharArray();
for(int i=0;i<a.length;i++) {
if(a[i]!=b[i])t++;
}
p(t);
return 1;
}
/**/
private static long[][] com;
private static void nCr() {
int MAX = 3001;
com= new long[MAX][MAX];
for(int i = 0; i < MAX; i++)
com[i][0] = 1;
for(int i = 1; i < MAX; i++) {
for(int j = 1; j <= i; j++) {
com[i][j] = com[i-1][j-1] + com[i-1][j];
com[i][j] %= mod;
}
}
}
static void p(String ans) {out.println(ans);};
static void p(int ans) {out.println(ans);};
static void p() {out.println();};
static void p(long ans) {out.println(ans);};
static void p(double ans) {out.println(ans);};
static void pn(String ans) {out.print(ans);};
static void pn(int ans) {out.print(ans);};
static void pn() {out.print("");};
static void pn(long ans) {out.print(ans);};
static void pn(double ans) {out.print(ans);};
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 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 double nextDouble(){
return Double.parseDouble(next());
}
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;
}
}
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
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
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s=scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"String t=scan.next();",
"t",
"scan.next()",
"scan.next",
"scan",
"int count=0;",
"count",
"0",
"char[] c = s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] d = t.toCharArray();",
"d",
"t.toCharArray()",
"t.toCharArray",
"t",
"for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(c[i]!=d[i])\tcount++;\n }",
"{\n if(c[i]!=d[i])\tcount++;\n }",
"if(c[i]!=d[i])\tcount++;",
"c[i]!=d[i]",
"c[i]",
"c",
"i",
"d[i]",
"d",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint count=0;\n\t\t\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] d = t.toCharArray();\n\t\t\n for(int i=0; i<s.length();i++) {\n if(c[i]!=d[i])\tcount++;\n }\n \n System.out.println(count);\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);
String s=scan.next();
String t=scan.next();
int count=0;
char[] c = s.toCharArray();
char[] d = t.toCharArray();
for(int i=0; i<s.length();i++) {
if(c[i]!=d[i]) count++;
}
System.out.println(count);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
9,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
39,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String S = scanner.next();",
"S",
"scanner.next()",
"scanner.next",
"scanner",
"String T = scanner.next();",
"T",
"scanner.next()",
"scanner.next",
"scanner",
"int count = 0;",
"count",
"0",
"for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }",
"{\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }",
"if(S.charAt(i) == T.charAt(i)) continue;",
"S.charAt(i) == T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"continue;",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)) continue;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
String S = scanner.next();
String T = scanner.next();
int count = 0;
for(int i = 0;i < S.length();i++){
if(S.charAt(i) == T.charAt(i)) continue;
count++;
}
System.out.println(count);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }",
"{\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }",
"char si = s.charAt(i);",
"si",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char ti = t.charAt(i);",
"ti",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(si != ti){\n count++;\n }",
"si != ti",
"si",
"ti",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n // char[] ss = new char[s.length()];\n // char[] tt = new char[s.length()];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n char si = s.charAt(i);\n char ti = t.charAt(i);\n if(si != ti){\n count++;\n }\n }\n System.out.println(count);\n sc.close();\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
// char[] ss = new char[s.length()];
// char[] tt = new char[s.length()];
int count = 0;
for (int i = 0; i < s.length(); i++) {
char si = s.charAt(i);
char ti = t.charAt(i);
if(si != ti){
count++;
}
}
System.out.println(count);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
91,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
34,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
54,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
11,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
9,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.*;\nimport java.lang.Math;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"char[] work = new char[S.length()];",
"work",
"new char[S.length()]",
"S.length()",
"S.length",
"S",
"char[] work2 = new char[T.length()];",
"work2",
"new char[T.length()]",
"T.length()",
"T.length",
"T",
"int counter = 0;",
"counter",
"0",
"for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }",
"{\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }",
"work[i] = S.charAt(i)",
"work[i]",
"work",
"i",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"work2[i] = T.charAt(i)",
"work2[i]",
"work2",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(work[i] != work2[i]){\n counter++;\n }",
"work[i] != work2[i]",
"work[i]",
"work",
"i",
"work2[i]",
"work2",
"i",
"{\n counter++;\n }",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[] work = new char[S.length()];\n char[] work2 = new char[T.length()];\n int counter = 0;\n for(int i = 0; i < S.length(); i++){\n work[i] = S.charAt(i);\n work2[i] = T.charAt(i);\n if(work[i] != work2[i]){\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
char[] work = new char[S.length()];
char[] work2 = new char[T.length()];
int counter = 0;
for(int i = 0; i < S.length(); i++){
work[i] = S.charAt(i);
work2[i] = T.charAt(i);
if(work[i] != work2[i]){
counter++;
}
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
38,
5,
13,
30,
29,
17,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
17,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
29,
17,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
211,
8
],
[
211,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
9,
66
],
[
66,
67
],
[
211,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
68,
80
],
[
80,
81
],
[
211,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
82,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
88,
97
],
[
97,
98
],
[
82,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
99,
108
],
[
108,
109
],
[
82,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
113,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
120,
129
],
[
129,
130
],
[
129,
131
],
[
112,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
82,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
142,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
138,
157
],
[
157,
158
],
[
82,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
82,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
82,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
82,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
189,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
196,
205
],
[
205,
206
],
[
205,
207
],
[
188,
208
],
[
208,
209
],
[
0,
210
],
[
210,
211
],
[
210,
212
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));",
"pw",
"new PrintWriter(new OutputStreamWriter(System.out))",
"String s1 = in.next();",
"s1",
"in.next()",
"in.next",
"in",
"String s2 = in.next();",
"s2",
"in.next()",
"in.next",
"in",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"i++",
"i++",
"i",
"{\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }",
"{\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }",
"if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }",
"s1.charAt(i) != s2.charAt(i)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(i)",
"s2.charAt",
"s2",
"i",
"{\n count++;\n }",
"count++",
"count",
"pw.println(count)",
"pw.println",
"pw",
"count",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"/******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(obj));\n }",
"System.err.println(Arrays.deepToString(obj))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(obj)",
"Arrays.deepToString",
"Arrays",
"obj",
"Object...obj",
"obj",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream))",
"reader",
"new BufferedReader(new InputStreamReader(stream))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"//InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(file);\n tokenizer = null;\n }",
"reader = new BufferedReader(file)",
"reader",
"new BufferedReader(file)",
"tokenizer = null",
"tokenizer",
"null",
"FileReader file",
"file",
"public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }",
"next",
"{\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }",
"try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }",
"catch (IOException e) {\n return null;\n }",
"IOException e",
"{\n return null;\n }",
"return null;",
"null",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }",
"nextLine",
"{\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }",
"String line = null;",
"line",
"null",
"try {\n tokenizer = null;\n line = 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 = null;\n line = reader.readLine();\n }",
"tokenizer = null",
"tokenizer",
"null",
"line = reader.readLine()",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"return line;",
"line",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public 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 boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }",
"hasNext",
"{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }",
"try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }",
"catch (Exception e) {\n return false;\n }",
"Exception e",
"{\n return false;\n }",
"return false;",
"false",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return true;",
"true",
"public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n String s1 = in.next();\n String s2 = in.next();\n int count = 0;\n for (int i = 0; i < s1.length(); i++) {\n if(s1.charAt(i) != s2.charAt(i)) {\n count++;\n }\n }\n pw.println(count);\n\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args)throws Exception {
InputReader in = new InputReader(System.in);
PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
// write your code here //
String s1 = in.next();
String s2 = in.next();
int count = 0;
for (int i = 0; i < s1.length(); i++) {
if(s1.charAt(i) != s2.charAt(i)) {
count++;
}
}
pw.println(count);
pw.close();
}
/******************************
** IO STUFF STARTS FROM HERE**
******************************/
static void debug(Object...obj) {
System.err.println(Arrays.deepToString(obj));
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream));
tokenizer = null;
}
//InputReader in = new InputReader(new FileReader("File_Name"));
public InputReader(FileReader file) {
reader = new BufferedReader(file);
tokenizer = null;
}
public String next() {
try {
while (tokenizer == null || !tokenizer.hasMoreTokens())
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
return null;
}
return tokenizer.nextToken();
}
public String nextLine() {
String line = null;
try {
tokenizer = null;
line = reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
return line;
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public long nextLong() {
return Long.parseLong(next());
}
public boolean hasNext(){
try {
while (tokenizer == null || !tokenizer.hasMoreTokens())
tokenizer = new StringTokenizer(reader.readLine());
}
catch (Exception e) {
return false;
}
return true;
}
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"String str2 = sc.next();",
"str2",
"sc.next()",
"sc.next",
"sc",
"Integer count = 0;",
"count",
"0",
"for(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}",
"if(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}",
"str.charAt(i) != str2.charAt(i)",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n\t\t\t\tcount ++ ;\n\t\t\t}",
"count ++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tString str2 = sc.next();\n\t\t\n\t\tInteger count = 0;\n\t\t\n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tif(str.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcount ++ ;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
String str2 = sc.next();
Integer count = 0;
for(int i = 0; i < str.length(); i++) {
if(str.charAt(i) != str2.charAt(i)) {
count ++ ;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
84,
26
],
[
84,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
29,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
27,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"import java.io.BufferedReader;\nimport java.io.*;\nimport java.util.*;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Collections;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main",
"public static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }",
"{\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }",
"if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }",
"s.charAt(i)==t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n\n }",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n\n //List<Character> list1 = new ArrayList<>();\n //List<Character> list2 = new ArrayList<>();\n\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i)==t.charAt(i)){\n\n }else{\n count++;\n }\n }\n\n //System.out.println(list1);\n //System.out.println(list2);\n\n\n //for(int i = 0; i < list1.size(); i++){\n //if(list1.get(i).equals(list2.get(i))){\n //}else{\n // count++;\n //}\n //}\n\n System.out.println(count);\n\n \n \n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.util.Arrays;
public class Main {
public static void main(final String[] args){
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int count = 0;
//List<Character> list1 = new ArrayList<>();
//List<Character> list2 = new ArrayList<>();
for(int i = 0; i < s.length(); i++){
if(s.charAt(i)==t.charAt(i)){
}else{
count++;
}
}
//System.out.println(list1);
//System.out.println(list2);
//for(int i = 0; i < list1.size(); i++){
//if(list1.get(i).equals(list2.get(i))){
//}else{
// count++;
//}
//}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
54,
55
],
[
55,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
8,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
8,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
6,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args ) {\n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\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 String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\n }\n}",
"Main",
"public static void main(String[] args ) {\n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"char[] A = new char[a.length()];",
"A",
"new char[a.length()]",
"a.length()",
"a.length",
"a",
"for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n A[i]=a.charAt(i);\n }",
"{\n A[i]=a.charAt(i);\n }",
"A[i]=a.charAt(i)",
"A[i]",
"A",
"i",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"char[] B = new char[a.length()];",
"B",
"new char[a.length()]",
"a.length()",
"a.length",
"a",
"for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n B[i]=b.charAt(i);\n }",
"{\n B[i]=b.charAt(i);\n }",
"B[i]=b.charAt(i)",
"B[i]",
"B",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"int num=0;",
"num",
"0",
"for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }",
"{\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }",
"if (A[i]!=B[i]) {\n num = num + 1;\n }",
"A[i]!=B[i]",
"A[i]",
"A",
"i",
"B[i]",
"B",
"i",
"{\n num = num + 1;\n }",
"num = num + 1",
"num",
"num + 1",
"num",
"1",
"System.out.println(num)",
"System.out.println",
"System.out",
"System",
"System.out",
"num",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args ) {\n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\n }\n}",
"public class Main {\n public static void main(String[] args ) {\n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String b = sc.next();\n \n char[] A = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n A[i]=a.charAt(i);\n }\n char[] B = new char[a.length()];\n for(int i =0; i< a.length(); i++){\n B[i]=b.charAt(i);\n }\n \n int num=0;\n for (int i =0; i< a.length(); i++){\n if (A[i]!=B[i]) {\n num = num + 1;\n }\n }\n System.out.println(num);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args ) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
char[] A = new char[a.length()];
for(int i =0; i< a.length(); i++){
A[i]=a.charAt(i);
}
char[] B = new char[a.length()];
for(int i =0; i< a.length(); i++){
B[i]=b.charAt(i);
}
int num=0;
for (int i =0; i< a.length(); i++){
if (A[i]!=B[i]) {
num = num + 1;
}
}
System.out.println(num);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\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 String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s[] = sc.next().split(\"\");",
"s",
"sc.next().split(\"\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\"",
"String t[] = sc.next().split(\"\");",
"t",
"sc.next().split(\"\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\"",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if(!s[i].equals(t[i])) {\n count++;\n }\n }",
"{\n if(!s[i].equals(t[i])) {\n count++;\n }\n }",
"if(!s[i].equals(t[i])) {\n count++;\n }",
"!s[i].equals(t[i])",
"s[i].equals(t[i])",
"s[i].equals",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(String.valueOf(count))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(count)",
"String.valueOf",
"String",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s[] = sc.next().split(\"\");\n String t[] = sc.next().split(\"\");\n int count = 0;\n\n for(int i = 0; i < s.length; i++) {\n if(!s[i].equals(t[i])) {\n count++;\n }\n }\n\n System.out.println(String.valueOf(count));\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s[] = sc.next().split("");
String t[] = sc.next().split("");
int count = 0;
for(int i = 0; i < s.length; i++) {
if(!s[i].equals(t[i])) {
count++;
}
}
System.out.println(String.valueOf(count));
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
9,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"String t = scan.next();",
"t",
"scan.next()",
"scan.next",
"scan",
"int count = 0;",
"count",
"0",
"for(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}",
"s.charAt(i) == t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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);
String s = scan.next();
String t = scan.next();
int count = 0;
for(int i=0;i<s.length();i++) {
if(s.charAt(i) == t.charAt(i)) {
continue;
}else {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"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\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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\t\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String st1 = sc.next();",
"st1",
"sc.next()",
"sc.next",
"sc",
"String st2 = sc.next();",
"st2",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int count = 0;",
"count",
"0",
"char[] ch1 = st1.toCharArray();",
"ch1",
"st1.toCharArray()",
"st1.toCharArray",
"st1",
"char[] ch2 = st2.toCharArray();",
"ch2",
"st2.toCharArray()",
"st2.toCharArray",
"st2",
"for(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < st1.length()",
"i",
"st1.length()",
"st1.length",
"st1",
"i++",
"i++",
"i",
"{\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}",
"ch1[i] != ch2[i]",
"ch1[i]",
"ch1",
"i",
"ch2[i]",
"ch2",
"i",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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\t\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\t\n\t\tsc.close();\n\t\t\n\t\tint count = 0;\n\t\t\n\t\tchar[] ch1 = st1.toCharArray();\n\t\tchar[] ch2 = st2.toCharArray();\n\t\t\n\t\tfor(int i = 0; i < st1.length(); i++) {\n\t\t\tif (ch1[i] != ch2[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String st1 = sc.next();
String st2 = sc.next();
sc.close();
int count = 0;
char[] ch1 = st1.toCharArray();
char[] ch2 = st2.toCharArray();
for(int i = 0; i < st1.length(); i++) {
if (ch1[i] != ch2[i]) {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
72,
11
],
[
72,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
12,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] s = sc.next().toCharArray();",
"s",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"char[] t = sc.next().toCharArray();",
"t",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"int len = s.length;",
"len",
"s.length",
"s",
"s.length",
"for (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}",
"if (s[i] != t[i])\n\t\t\t\tcount++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();\n\t\tint count = 0; int len = s.length;\n\t\tfor (int i = 0; i<len; i++) {\n\t\t\tif (s[i] != t[i])\n\t\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
char[] s = sc.next().toCharArray(); char[] t = sc.next().toCharArray();
int count = 0; int len = s.length;
for (int i = 0; i<len; i++) {
if (s[i] != t[i])
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
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
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
46,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\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 String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int n = s.length();",
"n",
"s.length()",
"s.length",
"s",
"char ss",
"ss",
"tt;",
"tt",
"int a = 0;",
"a",
"0",
"for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }",
"{\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }",
"ss = s.charAt(i)",
"ss",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"tt = t.charAt(i)",
"tt",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(ss != tt){\n a++;\n }",
"ss != tt",
"ss",
"tt",
"{\n a++;\n }",
"a++",
"a",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"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 String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int n = s.length();\n char ss , tt;\n int a = 0;\n for(int i = 0;i < n;i++){\n ss = s.charAt(i);\n tt = t.charAt(i);\n if(ss != tt){\n a++;\n }\n }\n System.out.println(a);\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);
String s = sc.next();
String t = sc.next();
int n = s.length();
char ss , tt;
int a = 0;
for(int i = 0;i < n;i++){
ss = s.charAt(i);
tt = t.charAt(i);
if(ss != tt){
a++;
}
}
System.out.println(a);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] sChar = s.toCharArray();",
"sChar",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] tChar = t.toCharArray();",
"tChar",
"t.toCharArray()",
"t.toCharArray",
"t",
"int diff = 0;",
"diff",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"if(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n\t\t\t\tdiff++;\n\t\t\t}",
"diff++",
"diff",
"System.out.println(diff)",
"System.out.println",
"System.out",
"System",
"System.out",
"diff",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] sChar = s.toCharArray();\n\t\tchar[] tChar = t.toCharArray();\n\t\tint diff = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(diff);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
char[] sChar = s.toCharArray();
char[] tChar = t.toCharArray();
int diff = 0;
for (int i = 0; i < s.length(); i++) {
if(s.charAt(i) != t.charAt(i)) {
diff++;
}
}
System.out.println(diff);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
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,
18,
13,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
2,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
4,
18,
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,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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,
17,
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,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
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,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
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,
42,
4,
13,
13,
0,
13,
4,
13,
29,
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,
6,
13,
12,
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,
29,
2,
8,
2,
13,
17,
17,
2,
4,
18,
13,
17,
8,
2,
13,
17,
17,
4,
18,
13,
12,
13,
30,
14,
2,
36,
13,
29,
17,
14,
2,
2,
13,
17,
2,
4,
13,
4,
18,
13,
29,
17,
41,
13,
13,
29,
2,
8,
2,
13,
17,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
13,
8,
2,
13,
17,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
18,
13,
13,
29,
8,
2,
13,
17,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
782,
11
],
[
782,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
12,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
782,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
32,
44
],
[
44,
45
],
[
32,
46
],
[
46,
47
],
[
782,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
75,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
91,
95
],
[
50,
96
],
[
96,
97
],
[
48,
98
],
[
98,
99
],
[
48,
100
],
[
100,
101
],
[
48,
102
],
[
102,
103
],
[
782,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
106,
117
],
[
117,
118
],
[
117,
119
],
[
106,
120
],
[
120,
121
],
[
120,
122
],
[
106,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
106,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
106,
133
],
[
133,
134
],
[
133,
135
],
[
106,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
136,
146
],
[
146,
147
],
[
147,
148
],
[
136,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
152,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
151,
161
],
[
161,
162
],
[
162,
163
],
[
106,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
106,
168
],
[
168,
169
],
[
169,
170
],
[
104,
171
],
[
171,
172
],
[
782,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
173,
177
],
[
177,
178
],
[
177,
179
],
[
173,
181
],
[
181,
182
],
[
173,
183
],
[
183,
184
],
[
173,
185
],
[
185,
186
],
[
173,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
187,
195
],
[
195,
196
],
[
173,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
200,
205
],
[
205,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
215,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
211,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
199,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
173,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
246,
248
],
[
242,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
249,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
242,
262
],
[
262,
263
],
[
173,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
266,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
266,
279
],
[
279,
280
],
[
279,
281
],
[
266,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
266,
295
],
[
295,
296
],
[
295,
297
],
[
266,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
298,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
304,
312
],
[
312,
313
],
[
303,
314
],
[
314,
315
],
[
314,
316
],
[
303,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
319,
321
],
[
303,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
266,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
173,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
332,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
332,
345
],
[
345,
346
],
[
345,
347
],
[
332,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
352,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
332,
361
],
[
361,
362
],
[
361,
363
],
[
332,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
364,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
375,
377
],
[
370,
378
],
[
378,
379
],
[
369,
380
],
[
380,
381
],
[
380,
382
],
[
369,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
385,
387
],
[
369,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
332,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
173,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
398,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
398,
411
],
[
411,
412
],
[
411,
413
],
[
398,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
418,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
398,
427
],
[
427,
428
],
[
427,
429
],
[
398,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
431,
436
],
[
436,
437
],
[
436,
438
],
[
430,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
441,
445
],
[
445,
446
],
[
445,
447
],
[
440,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
451,
454
],
[
451,
455
],
[
455,
456
],
[
439,
457
],
[
457,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
458,
462
],
[
462,
463
],
[
462,
464
],
[
457,
465
],
[
465,
466
],
[
439,
467
],
[
467,
468
],
[
467,
469
],
[
439,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
472,
474
],
[
439,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
398,
479
],
[
479,
480
],
[
480,
481
],
[
480,
482
],
[
479,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
486,
487
],
[
483,
488
],
[
488,
489
],
[
488,
490
],
[
483,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
491,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
498,
502
],
[
502,
503
],
[
502,
504
],
[
497,
505
],
[
505,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
508,
511
],
[
508,
512
],
[
512,
513
],
[
496,
514
],
[
514,
515
],
[
515,
516
],
[
516,
517
],
[
516,
518
],
[
515,
519
],
[
519,
520
],
[
519,
521
],
[
514,
522
],
[
522,
523
],
[
496,
524
],
[
524,
525
],
[
524,
526
],
[
496,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
530,
531
],
[
530,
532
],
[
529,
533
],
[
496,
534
],
[
534,
535
],
[
534,
536
],
[
536,
537
],
[
398,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
173,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
545,
546
],
[
545,
547
],
[
547,
548
],
[
544,
549
],
[
549,
550
],
[
550,
551
],
[
550,
552
],
[
549,
553
],
[
553,
554
],
[
553,
555
],
[
555,
556
],
[
544,
557
],
[
557,
558
],
[
173,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
561,
566
],
[
566,
567
],
[
567,
568
],
[
567,
569
],
[
566,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
561,
574
],
[
574,
575
],
[
574,
576
],
[
561,
577
],
[
577,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
577,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
583,
586
],
[
582,
587
],
[
587,
588
],
[
587,
589
],
[
589,
590
],
[
561,
591
],
[
591,
592
],
[
592,
593
],
[
593,
594
],
[
173,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
598,
599
],
[
599,
600
],
[
599,
601
],
[
598,
602
],
[
602,
603
],
[
603,
604
],
[
604,
605
],
[
603,
606
],
[
597,
607
],
[
607,
608
],
[
611,
609
],
[
621,
610
],
[
618,
611
],
[
611,
612
],
[
612,
613
],
[
612,
614
],
[
611,
615
],
[
615,
616
],
[
615,
617
],
[
618,
618
],
[
618,
619
],
[
618,
620
],
[
621,
621
],
[
621,
622
],
[
621,
623
],
[
611,
624
],
[
624,
625
],
[
624,
626
],
[
626,
627
],
[
595,
628
],
[
628,
629
],
[
173,
630
],
[
630,
631
],
[
630,
632
],
[
632,
633
],
[
632,
634
],
[
634,
635
],
[
782,
636
],
[
636,
637
],
[
636,
638
],
[
638,
639
],
[
636,
640
],
[
640,
641
],
[
636,
642
],
[
642,
643
],
[
642,
644
],
[
644,
645
],
[
645,
646
],
[
646,
647
],
[
646,
648
],
[
645,
649
],
[
644,
650
],
[
650,
651
],
[
651,
652
],
[
651,
653
],
[
650,
654
],
[
642,
655
],
[
655,
656
],
[
642,
657
],
[
657,
658
],
[
636,
659
],
[
659,
660
],
[
659,
661
],
[
661,
662
],
[
662,
663
],
[
663,
664
],
[
664,
665
],
[
665,
666
],
[
665,
667
],
[
664,
668
],
[
664,
669
],
[
669,
670
],
[
670,
671
],
[
671,
672
],
[
669,
673
],
[
663,
674
],
[
674,
675
],
[
675,
676
],
[
675,
677
],
[
674,
678
],
[
674,
679
],
[
679,
680
],
[
680,
681
],
[
636,
682
],
[
682,
683
],
[
682,
684
],
[
684,
685
],
[
685,
686
],
[
686,
687
],
[
686,
688
],
[
685,
689
],
[
689,
690
],
[
684,
691
],
[
691,
692
],
[
692,
693
],
[
693,
694
],
[
693,
695
],
[
692,
696
],
[
696,
697
],
[
697,
698
],
[
696,
699
],
[
699,
700
],
[
700,
701
],
[
691,
702
],
[
702,
703
],
[
684,
704
],
[
704,
705
],
[
704,
706
],
[
684,
707
],
[
707,
708
],
[
708,
709
],
[
709,
710
],
[
710,
711
],
[
710,
712
],
[
709,
713
],
[
713,
714
],
[
714,
715
],
[
714,
716
],
[
713,
717
],
[
709,
718
],
[
718,
719
],
[
719,
720
],
[
718,
721
],
[
721,
722
],
[
721,
723
],
[
708,
724
],
[
724,
725
],
[
725,
726
],
[
725,
727
],
[
724,
728
],
[
728,
729
],
[
729,
730
],
[
729,
731
],
[
728,
732
],
[
724,
733
],
[
733,
734
],
[
734,
735
],
[
733,
736
],
[
736,
737
],
[
736,
738
],
[
682,
739
],
[
739,
740
],
[
636,
741
],
[
741,
742
],
[
741,
743
],
[
743,
744
],
[
744,
745
],
[
744,
746
],
[
746,
747
],
[
747,
748
],
[
746,
749
],
[
749,
750
],
[
749,
751
],
[
743,
752
],
[
752,
753
],
[
753,
754
],
[
754,
755
],
[
754,
756
],
[
753,
757
],
[
753,
758
],
[
758,
759
],
[
759,
760
],
[
758,
761
],
[
761,
762
],
[
761,
763
],
[
741,
764
],
[
764,
765
],
[
636,
766
],
[
766,
767
],
[
766,
768
],
[
768,
769
],
[
769,
770
],
[
770,
771
],
[
771,
772
],
[
770,
773
],
[
770,
774
],
[
774,
775
],
[
775,
776
],
[
770,
777
],
[
777,
778
],
[
778,
779
],
[
636,
780
],
[
0,
781
],
[
781,
782
],
[
781,
783
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main{\n public static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n public 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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n public String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\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 }\n while (!isSpaceChar(c));\n return res.toString();\n }\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n \n public static void main(String args[])\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n public static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n public 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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n public String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\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 }\n while (!isSpaceChar(c));\n return res.toString();\n }\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n \n public static void main(String args[])\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }\n}",
"Main",
"static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }",
"gcd",
"{\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"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 long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }",
"func",
"{\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }",
"long max1=a[s];",
"max1",
"a[s]",
"a",
"s",
"long maxc=a[s];",
"maxc",
"a[s]",
"a",
"s",
"for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"int i=s+1;",
"int i=s+1;",
"i",
"s+1",
"s",
"1",
"i<size",
"i",
"size",
"i++",
"i++",
"i",
"{\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"{\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"maxc=Math.max(a[i],maxc+a[i])",
"maxc",
"Math.max(a[i],maxc+a[i])",
"Math.max",
"Math",
"a[i]",
"a",
"i",
"maxc+a[i]",
"maxc",
"a[i]",
"a",
"i",
"max1=Math.max(maxc,max1)",
"max1",
"Math.max(maxc,max1)",
"Math.max",
"Math",
"maxc",
"max1",
"return max1;",
"max1",
"long a[]",
"a",
"long size",
"size",
"int s",
"s",
"public static void main(String args[])\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader sc = new FastReader(inputStream);",
"sc",
"new FastReader(inputStream)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }",
"{\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }",
"if(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n \t\tcount++;\n \t}",
"count++",
"count",
"w.print(count)",
"w.print",
"w",
"count",
"w.close()",
"w.close",
"w",
"String args[]",
"args",
"public static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n public 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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n public String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\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 }\n while (!isSpaceChar(c));\n return res.toString();\n }\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"FastReader",
"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 FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\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 if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\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 }\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 }\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 }\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 }\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 String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while(isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if(c<'0'||c>'9')\n throw new InputMismatchException();",
"c<'0'||c>'9'",
"c<'0'",
"c",
"'0'",
"c>'9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"nextDouble",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"double res = 0;",
"res",
"0",
"while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"!isSpaceChar(c) && c != '.'",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c != '.'",
"c",
"'.'",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c = read()",
"c",
"read()",
"read",
"double m = 1;",
"m",
"1",
"while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"m /= 10",
"m",
"10",
"res += (c - '0') * m",
"res",
"(c - '0') * m",
"(c - '0')",
"c",
"'0'",
"m",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\n }",
"nextChar",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"return (char)c;",
"(char)c",
"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 }\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 }\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 }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }",
"Pair",
"public U x;",
"x",
"public V y;",
"y",
"public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }",
"Pair",
"{\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",
"U x",
"x",
"V y",
"y",
"public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }",
"hashCode",
"{\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }",
"return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());",
"(x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode())",
"(x == null ? 0 : x.hashCode() * 31)",
"x == null",
"x",
"null",
"0",
"x.hashCode() * 31",
"x.hashCode()",
"x.hashCode",
"x",
"31",
"(y == null ? 0 : y.hashCode())",
"y == null",
"y",
"null",
"0",
"y.hashCode()",
"y.hashCode",
"y",
"public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }",
"equals",
"{\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }",
"if (this == o)\n return true;",
"this == o",
"this",
"o",
"return true;",
"true",
"if (o == null || getClass() != o.getClass())\n return false;",
"o == null || getClass() != o.getClass()",
"o == null",
"o",
"null",
"getClass() != o.getClass()",
"getClass()",
"getClass",
"o.getClass()",
"o.getClass",
"o",
"return false;",
"false",
"Pair<U, V> p = (Pair<U, V>) o;",
"p",
"(Pair<U, V>) o",
"return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));",
"(x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y))",
"(x == null ? p.x == null : x.equals(p.x))",
"x == null",
"x",
"null",
"p.x == null",
"p.x",
"p",
"p.x",
"null",
"x.equals(p.x)",
"x.equals",
"x",
"p.x",
"p",
"p.x",
"(y == null ? p.y == null : y.equals(p.y))",
"y == null",
"y",
"null",
"p.y == null",
"p.y",
"p",
"p.y",
"null",
"y.equals(p.y)",
"y.equals",
"y",
"p.y",
"p",
"p.y",
"Object o",
"o",
"public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }",
"compareTo",
"{\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }",
"int cmpU = x.compareTo(b.x);",
"cmpU",
"x.compareTo(b.x)",
"x.compareTo",
"x",
"b.x",
"b",
"b.x",
"return cmpU != 0 ? cmpU : y.compareTo(b.y);",
"cmpU != 0 ? cmpU : y.compareTo(b.y)",
"cmpU != 0",
"cmpU",
"0",
"cmpU",
"y.compareTo(b.y)",
"y.compareTo",
"y",
"b.y",
"b",
"b.y",
"Pair<U, V> b",
"b",
"public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }",
"toString",
"{\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }",
"return String.format(\"(%s, %s)\", x.toString(), y.toString());",
"String.format(\"(%s, %s)\", x.toString(), y.toString())",
"String.format",
"String",
"\"(%s, %s)\"",
"x.toString()",
"x.toString",
"x",
"y.toString()",
"y.toString",
"y",
"Comparable",
"public class Main{\n public static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n public 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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n public String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\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 }\n while (!isSpaceChar(c));\n return res.toString();\n }\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n \n public static void main(String args[])\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }\n}",
"public class Main{\n public static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n public 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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n public String nextLine() {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n try {\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n public int nextInt() {\n int c = read();\n while(isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if(c<'0'||c>'9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n public double nextDouble() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c))\n {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n public char nextChar() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n return (char)c;\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 }\n while (!isSpaceChar(c));\n return res.toString();\n }\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n \n public static void main(String args[])\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader sc = new FastReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n \n String s = sc.next();\n String t = sc.next();\n int count = 0;\n \n for(int i = 0; i < s.length(); i++)\n {\n \tif(s.charAt(i) != t.charAt(i))\n \t{\n \t\tcount++;\n \t}\n }\n w.print(count);\n w.close();\n }\n}",
"Main"
]
|
import java.io.*;
import java.util.*;
import java.lang.*;
public class Main{
public static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
public FastReader(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 String nextLine() {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str = "";
try {
str = br.readLine();
}
catch (IOException e) {
e.printStackTrace();
}
return str;
}
public int nextInt() {
int c = read();
while(isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if(c<'0'||c>'9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public double nextDouble() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
double res = 0;
while (!isSpaceChar(c) && c != '.') {
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
if (c == '.') {
c = read();
double m = 1;
while (!isSpaceChar(c))
{
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
m /= 10;
res += (c - '0') * m;
c = read();
}
}
return res * sgn;
}
public char nextChar() {
int c = read();
while (isSpaceChar(c))
c = read();
return (char)c;
}
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 boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static long gcd(long a, long b){
if (a == 0)
return b;
return gcd(b % a, a);
}
static long lcm(long a, long b) {
return (a*b)/gcd(a, b);
}
static long func(long a[],long size,int s){
long max1=a[s];
long maxc=a[s];
for(int i=s+1;i<size;i++){
maxc=Math.max(a[i],maxc+a[i]);
max1=Math.max(maxc,max1);
}
return max1;
}
public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {
public U x;
public V y;
public Pair(U x, V y) {
this.x = x;
this.y = y;
}
public int hashCode() {
return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());
}
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Pair<U, V> p = (Pair<U, V>) o;
return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));
}
public int compareTo(Pair<U, V> b) {
int cmpU = x.compareTo(b.x);
return cmpU != 0 ? cmpU : y.compareTo(b.y);
}
public String toString() {
return String.format("(%s, %s)", x.toString(), y.toString());
}
}
public static void main(String args[])
{
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader sc = new FastReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
String s = sc.next();
String t = sc.next();
int count = 0;
for(int i = 0; i < s.length(); i++)
{
if(s.charAt(i) != t.charAt(i))
{
count++;
}
}
w.print(count);
w.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
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
],
[
29,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
54,
72
],
[
72,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"StringBuilder t = new StringBuilder();",
"t",
"new StringBuilder()",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"t.append(T)",
"t.append",
"t",
"T",
"s.append(S)",
"s.append",
"s",
"S",
"int count = 0;",
"count",
"0",
"for(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<t.length()",
"i",
"t.length()",
"t.length",
"t",
"i++",
"i++",
"i",
"{ \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}",
"{ \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}",
"if(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;",
"!t.substring(i,i+1).equals(s.substring(i, i+1))",
"t.substring(i,i+1).equals(s.substring(i, i+1))",
"t.substring(i,i+1).equals",
"t.substring(i,i+1)",
"t.substring",
"t",
"i",
"i+1",
"i",
"1",
"s.substring(i, i+1)",
"s.substring",
"s",
"i",
"i+1",
"i",
"1",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\n\t\tString T = sc.next();\n\t\tString S = sc.next();\n \n\t\tStringBuilder t = new StringBuilder();\n\t\tStringBuilder s = new StringBuilder();\n\n\t\tt.append(T);\n\t\ts.append(S);\n\n\t\tint count = 0;\n\n\t\tfor(int i=0;i<t.length();i++) { \n\t\t\tif(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;\n\t\t}\n\n\t\tSystem.out.println(count);\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);
String T = sc.next();
String S = sc.next();
StringBuilder t = new StringBuilder();
StringBuilder s = new StringBuilder();
t.append(T);
s.append(S);
int count = 0;
for(int i=0;i<t.length();i++) {
if(!t.substring(i,i+1).equals(s.substring(i, i+1))) count++;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
4,
18,
13,
0,
13,
17,
14,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
29,
36,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
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,
4,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
18,
36,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
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
],
[
345,
44
],
[
345,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
61,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
45,
76
],
[
76,
77
],
[
345,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
82,
98
],
[
98,
99
],
[
98,
100
],
[
82,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
82,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
80,
129
],
[
129,
130
],
[
80,
131
],
[
131,
132
],
[
80,
133
],
[
133,
134
],
[
345,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
135,
142
],
[
142,
143
],
[
142,
144
],
[
135,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
145,
153
],
[
153,
154
],
[
135,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
155,
161
],
[
161,
162
],
[
135,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
166,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
165,
180
],
[
180,
181
],
[
163,
182
],
[
182,
183
],
[
135,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
187,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
194,
198
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
193,
202
],
[
202,
203
],
[
202,
204
],
[
186,
205
],
[
205,
206
],
[
184,
207
],
[
207,
208
],
[
135,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
211,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
209,
223
],
[
223,
224
],
[
135,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
225,
235
],
[
235,
236
],
[
135,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
239,
245
],
[
245,
246
],
[
245,
247
],
[
239,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
251,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
239,
261
],
[
261,
262
],
[
135,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
266,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
135,
276
],
[
345,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
277,
282
],
[
282,
283
],
[
282,
284
],
[
277,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
285,
291
],
[
291,
292
],
[
277,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
296,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
306,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
295,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
277,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
277,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
331,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
277,
343
],
[
0,
344
],
[
344,
345
],
[
344,
346
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public char[] chars() {\n return string().toCharArray();\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\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.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"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 LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public char[] chars() {\n return string().toCharArray();\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\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",
"LightScanner in = new LightScanner(inputStream);",
"in",
"new LightScanner(inputStream)",
"LightWriter out = new LightWriter(outputStream);",
"out",
"new LightWriter(outputStream)",
"BMinorChange solver = new BMinorChange();",
"solver",
"new BMinorChange()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMinorChange {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }",
"solve",
"{\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }",
"char[] s = in.chars()",
"s",
"in.chars()",
"in.chars",
"in",
"t = in.chars();",
"t",
"in.chars()",
"in.chars",
"in",
"int n = s.length",
"n",
"s.length",
"s",
"s.length",
"ans = 0;",
"ans",
"0",
"for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"if (s[i] != t[i]) ans++;",
"if (s[i] != t[i]) ans++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"ans++",
"ans",
"out.ans(ans).ln()",
"out.ans(ans).ln",
"out.ans(ans)",
"out.ans",
"out",
"ans",
"int testNumber",
"testNumber",
"LightScanner in",
"in",
"LightWriter out",
"out",
"static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightWriter",
"private final Writer out;",
"out",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter(Writer out) {\n this.out = out;\n }",
"LightWriter",
"{\n this.out = out;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Writer out",
"out",
"public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"LightWriter",
"{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))",
"this",
"new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())",
"OutputStream out",
"out",
"public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(c);\n breaked = false;\n }",
"out.write(c)",
"out.write",
"out",
"c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(s, 0, s.length());\n breaked = false;\n }",
"out.write(s, 0, s.length())",
"out.write",
"out",
"s",
"0",
"s.length()",
"s.length",
"s",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"String s",
"s",
"public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"return print(s);",
"print(s)",
"print",
"s",
"String s",
"s",
"public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }",
"ans",
"{\n return ans(Integer.toString(i));\n }",
"return ans(Integer.toString(i));",
"ans(Integer.toString(i))",
"ans",
"Integer.toString(i)",
"Integer.toString",
"Integer",
"i",
"int i",
"i",
"public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"ln",
"{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"print(System.lineSeparator())",
"print",
"System.lineSeparator()",
"System.lineSeparator",
"System",
"breaked = true",
"breaked",
"true",
"if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"autoflush",
"{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.close();\n }",
"out.close()",
"out.close",
"out",
"AutoCloseable",
"static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public char[] chars() {\n return string().toCharArray();\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"LightScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"string",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(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 UncheckedIOException(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 UncheckedIOException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"IOException e",
"{\n throw new UncheckedIOException(e);\n }",
"throw new UncheckedIOException(e);",
"new UncheckedIOException(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 char[] chars() {\n return string().toCharArray();\n }",
"chars",
"{\n return string().toCharArray();\n }",
"return string().toCharArray();",
"string().toCharArray()",
"string().toCharArray",
"string()",
"string",
"public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n this.reader.close();\n }",
"this.reader.close()",
"this.reader.close",
"this.reader",
"this",
"this.reader",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public char[] chars() {\n return string().toCharArray();\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\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 LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n char[] s = in.chars(), t = in.chars();\n int n = s.length, ans = 0;\n for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;\n out.ans(ans).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(int i) {\n return ans(Integer.toString(i));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public char[] chars() {\n return string().toCharArray();\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author mikit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
LightScanner in = new LightScanner(inputStream);
LightWriter out = new LightWriter(outputStream);
BMinorChange solver = new BMinorChange();
solver.solve(1, in, out);
out.close();
}
static class BMinorChange {
public void solve(int testNumber, LightScanner in, LightWriter out) {
char[] s = in.chars(), t = in.chars();
int n = s.length, ans = 0;
for (int i = 0; i < n; i++) if (s[i] != t[i]) ans++;
out.ans(ans).ln();
}
}
static class LightWriter implements AutoCloseable {
private final Writer out;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter(Writer out) {
this.out = out;
}
public LightWriter(OutputStream out) {
this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
}
public LightWriter print(char c) {
try {
out.write(c);
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter print(String s) {
try {
out.write(s, 0, s.length());
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter ans(String s) {
if (!breaked) {
print(' ');
}
return print(s);
}
public LightWriter ans(int i) {
return ans(Integer.toString(i));
}
public LightWriter ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
public void close() {
try {
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
static class LightScanner implements AutoCloseable {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public LightScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
public String string() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
return tokenizer.nextToken();
}
public char[] chars() {
return string().toCharArray();
}
public void close() {
try {
this.reader.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
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
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next()",
"a",
"sc.next()",
"sc.next",
"sc",
"b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"char[] A = a.toCharArray()",
"A",
"a.toCharArray()",
"a.toCharArray",
"a",
"B = b.toCharArray();",
"B",
"b.toCharArray()",
"b.toCharArray",
"b",
"for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <A.length",
"i",
"A.length",
"A",
"A.length",
"i++",
"i++",
"i",
"{\n if(A[i] == B[i])count++;\n }",
"{\n if(A[i] == B[i])count++;\n }",
"if(A[i] == B[i])count++;",
"A[i] == B[i]",
"A[i]",
"A",
"i",
"B[i]",
"B",
"i",
"count++",
"count",
"System.out.println(a.length() - count)",
"System.out.println",
"System.out",
"System",
"System.out",
"a.length() - count",
"a.length()",
"a.length",
"a",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next(),b = sc.next();\n int count = 0;\n char[] A = a.toCharArray(),B = b.toCharArray();\n for (int i = 0; i <A.length ; i++) {\n if(A[i] == B[i])count++;\n }\n System.out.println(a.length() - count);\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next(),b = sc.next();
int count = 0;
char[] A = a.toCharArray(),B = b.toCharArray();
for (int i = 0; i <A.length ; i++) {
if(A[i] == B[i])count++;
}
System.out.println(a.length() - count);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}",
"main",
"{\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}",
"Scanner ob = new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"String S = ob.next();",
"S",
"ob.next()",
"ob.next",
"ob",
"String T = ob.next();",
"T",
"ob.next()",
"ob.next",
"ob",
"int C = 0;",
"C",
"0",
"for (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}",
"{\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}",
"if(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n\t\t\t\tC++;\n\t\t\t}",
"C++",
"C",
"System.out.println(C)",
"System.out.println",
"System.out",
"System",
"System.out",
"C",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner ob = new Scanner(System.in);\n\t\tString S = ob.next();\n\t\tString T = ob.next();\n\t\tint C = 0;\n\n\t\tfor (int i = 0; i < S.length(); i++) {\n\t\t\t\n\t\t\tif(S.charAt(i) != T.charAt(i) ){\n\t\t\t\tC++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(C);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String args[]){
Scanner ob = new Scanner(System.in);
String S = ob.next();
String T = ob.next();
int C = 0;
for (int i = 0; i < S.length(); i++) {
if(S.charAt(i) != T.charAt(i) ){
C++;
}
}
System.out.println(C);
}
} |
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
87,
17
],
[
87,
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
],
[
34,
35
],
[
35,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
20,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
20,
47
],
[
47,
48
],
[
47,
49
],
[
20,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
20,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
20,
81
],
[
81,
82
],
[
82,
83
],
[
18,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}\n\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.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String t = br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"char[] chs = s.toCharArray();",
"chs",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] cht = t.toCharArray();",
"cht",
"t.toCharArray()",
"t.toCharArray",
"t",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}",
"{\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}",
"if(chs[i] != cht[i])\n\t\t\t\tcnt++;",
"chs[i] != cht[i]",
"chs[i]",
"chs",
"i",
"cht[i]",
"cht",
"i",
"cnt++",
"cnt",
"bw.write(cnt + \"\\n\")",
"bw.write",
"bw",
"cnt + \"\\n\"",
"cnt",
"\"\\n\"",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tString s = br.readLine();\n\t\tString t = br.readLine();\n\t\t\n\t\tchar[] chs = s.toCharArray();\n\t\tchar[] cht = t.toCharArray(); \n\t\tint cnt = 0;\n\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\tif(chs[i] != cht[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\t\n\t\tbw.write(cnt + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
String s = br.readLine();
String t = br.readLine();
char[] chs = s.toCharArray();
char[] cht = t.toCharArray();
int cnt = 0;
for(int i=0; i<s.length(); i++) {
if(chs[i] != cht[i])
cnt++;
}
bw.write(cnt + "\n");
bw.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
13,
30,
3,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
40,
2,
13,
13,
30,
40,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
22,
36
],
[
36,
37
],
[
36,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
22,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
62,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
64,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
64,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
85,
89
],
[
22,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
9,
96
],
[
96,
97
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }",
"catch(IOException e){\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n StringBuilder sb1 = new StringBuilder(t);\n //System.out.println(s);\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }\n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String t = br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"StringBuilder sb1 = new StringBuilder(t);",
"sb1",
"new StringBuilder(t)",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<s.length();i++){\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }",
"{\n if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }\n }",
"if(s.equals(t)){\n break;\n }else{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }",
"s.equals(t)",
"s.equals",
"s",
"t",
"{\n break;\n }",
"break;",
"{\n char s1 = s.charAt(i);\n char t1 = t.charAt(i);\n if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }\n }",
"char s1 = s.charAt(i);",
"s1",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char t1 = t.charAt(i);",
"t1",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(!(s1==t1)){\n ans++;\n sb1.setCharAt(i, s1);\n }",
"!(s1==t1)",
"(s1==t1)",
"s1",
"t1",
"{\n ans++;\n sb1.setCharAt(i, s1);\n }",
"ans++",
"ans",
"sb1.setCharAt(i, s1)",
"sb1.setCharAt",
"sb1",
"i",
"s1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
String t = br.readLine();
StringBuilder sb1 = new StringBuilder(t);
//System.out.println(s);
int ans = 0;
for(int i=0;i<s.length();i++){
if(s.equals(t)){
break;
}else{
char s1 = s.charAt(i);
char t1 = t.charAt(i);
if(!(s1==t1)){
ans++;
sb1.setCharAt(i, s1);
}
}
}
System.out.println(ans);
}catch(IOException e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
4,
18,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
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,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
188,
11
],
[
188,
12
],
[
12,
13
],
[
12,
14
],
[
188,
15
],
[
15,
16
],
[
15,
17
],
[
188,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
188,
23
],
[
23,
24
],
[
23,
25
],
[
188,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
48,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
88,
89
],
[
28,
90
],
[
90,
91
],
[
91,
92
],
[
28,
93
],
[
93,
94
],
[
94,
95
],
[
28,
96
],
[
96,
97
],
[
97,
98
],
[
26,
99
],
[
99,
100
],
[
188,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
108,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
103,
127
],
[
127,
128
],
[
101,
129
],
[
129,
130
],
[
188,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
133,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
131,
148
],
[
148,
149
],
[
131,
150
],
[
150,
151
],
[
188,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
154,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
161,
171
],
[
171,
172
],
[
172,
173
],
[
161,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
175,
181
],
[
181,
182
],
[
154,
183
],
[
183,
184
],
[
152,
185
],
[
185,
186
],
[
0,
187
],
[
187,
188
],
[
187,
189
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\npublic class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}",
"Main",
"static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"sc",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static final int MOD = (int) 1e9 + 7;",
"MOD",
"(int) 1e9 + 7",
"(int) 1e9",
"7",
"static final double PI = 3.14159265358979323846;",
"PI",
"3.14159265358979323846",
"public static void main(String[] args) throws Exception {\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }",
"main",
"{\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }",
"str.equals(t)",
"str.equals",
"str",
"t",
"out.println(\"0\")",
"out.println",
"out",
"\"0\"",
"{\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }",
"List<Character> hash1 = new ArrayList<>();",
"hash1",
"new ArrayList<>()",
"for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"++i",
"++i",
"i",
"{\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }",
"{\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }",
"if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));",
"str.charAt(i) != t.charAt(i)",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"hash1.add(str.charAt(i))",
"hash1.add",
"hash1",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"out.println(hash1.size())",
"out.println",
"out",
"hash1.size()",
"hash1.size",
"hash1",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"// takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }",
"init",
"{\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.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] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"arr[i] = sc.nextInt();",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return arr;",
"arr",
"int n",
"n",
"// finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }",
"gcd",
"{\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }",
"if (a == 0) {\n return b;\n }",
"a == 0",
"a",
"0",
"{\n return b;\n }",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"// checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }",
"prime",
"{\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }",
"if (n < 2)\n return false;",
"n < 2",
"n",
"2",
"return false;",
"false",
"for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"++i",
"++i",
"i",
"if (n % i == 0)\n return false;",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}",
"public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n String str = sc.next();\n String t = sc.next();\n\n if(str.equals(t))\n out.println(\"0\");\n else {\n\n List<Character> hash1 = new ArrayList<>();\n //Set<Character> hash2 = new HashSet<>();\n\n for(int i = 0;i < str.length(); ++i){\n\n if(str.charAt(i) != t.charAt(i))\n hash1.add(str.charAt(i));\n\n }\n\n\n out.println(hash1.size());\n }\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
import java.math.*;
public class Main {
static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
static PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) throws Exception {
String str = sc.next();
String t = sc.next();
if(str.equals(t))
out.println("0");
else {
List<Character> hash1 = new ArrayList<>();
//Set<Character> hash2 = new HashSet<>();
for(int i = 0;i < str.length(); ++i){
if(str.charAt(i) != t.charAt(i))
hash1.add(str.charAt(i));
}
out.println(hash1.size());
}
out.flush();
out.close();
sc.close();
}
static final int MOD = (int) 1e9 + 7;
static final double PI = 3.14159265358979323846;
// takes array input
public static int[] init(int n) {
int[] arr = new int[n];
for (int i = 0; i < n; ++i)
arr[i] = sc.nextInt();
return arr;
}
// finds GCD of two number
public static int gcd(int a, int b) {
if (a == 0) {
return b;
}
return gcd(b % a, a);
}
// checks whether a number is prime or not
public static boolean prime(int n) {
if (n < 2)
return false;
for (int i = 2; i * i <= n; ++i)
if (n % i == 0)
return false;
return true;
}
}
|
[
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,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
102,
38
],
[
102,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
39,
44
],
[
44,
45
],
[
102,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
50,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
50,
64
],
[
64,
65
],
[
64,
66
],
[
50,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
83,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
50,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
]
| [
"\timport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Deque;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Queue;\nimport java.util.Scanner;\nimport java.util.Set;\n\t\n\tpublic class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\texecute16_3();\n\t\t}\n\t\t\n\t\tprivate static void execute16_3() {\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}\n }",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\texecute16_3();\n\t\t}\n\t\t\n\t\tprivate static void execute16_3() {\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}\n }",
"Main",
"public static void main(String[] args) {\n\t\t\texecute16_3();\n\t\t}",
"main",
"{\n\t\t\texecute16_3();\n\t\t}",
"execute16_3()",
"execute16_3",
"String[] args",
"args",
"private static void execute16_3() {\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}",
"execute16_3",
"{\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}",
"try \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}",
"{\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int ans=0;",
"ans",
"0",
"for(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}",
"if(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n\t\t\t\t\tans++;\n\t\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\texecute16_3();\n\t\t}\n\t\t\n\t\tprivate static void execute16_3() {\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}\n }",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\texecute16_3();\n\t\t}\n\t\t\n\t\tprivate static void execute16_3() {\n\t\t\ttry \n\t\t\t(Scanner sc = new Scanner(System.in)) {\n\t\t\t\tString s = sc.next();\n\t\t\t\tString t = sc.next();\n\t\t\t\n\t\t\tint ans=0;\n\t\t\t\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=t.charAt(i)) {\n\t\t\t\t\tans++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\t}\n\t\t\t\n\t\t}\n }",
"Main"
]
| import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Scanner;
import java.util.Set;
public class Main {
public static void main(String[] args) {
execute16_3();
}
private static void execute16_3() {
try
(Scanner sc = new Scanner(System.in)) {
String s = sc.next();
String t = sc.next();
int ans=0;
for(int i=0; i<s.length(); i++) {
if(s.charAt(i)!=t.charAt(i)) {
ans++;
}
}
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"String T = scan.next();",
"T",
"scan.next()",
"scan.next",
"scan",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }",
"{\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }",
"if (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}",
"!S.substring(i, i+1).equals(T.substring(i, i+1))",
"S.substring(i, i+1).equals(T.substring(i, i+1))",
"S.substring(i, i+1).equals",
"S.substring(i, i+1)",
"S.substring",
"S",
"i",
"i+1",
"i",
"1",
"T.substring(i, i+1)",
"T.substring",
"T",
"i",
"i+1",
"i",
"1",
"{\n \t\tcount++;\n \t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String S = scan.next();\n String T = scan.next();\n\n int count = 0;\n\n for (int i = 0; i < S.length(); i++) {\n \tif (!S.substring(i, i+1).equals(T.substring(i, i+1))) {\n \t\tcount++;\n \t}\n }\n\n System.out.println(count);\n\n scan.close();\n\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String S = scan.next();
String T = scan.next();
int count = 0;
for (int i = 0; i < S.length(); i++) {
if (!S.substring(i, i+1).equals(T.substring(i, i+1))) {
count++;
}
}
System.out.println(count);
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
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,
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
],
[
186,
8
],
[
186,
9
],
[
9,
10
],
[
9,
11
],
[
186,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
12,
17
],
[
17,
18
],
[
186,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
32,
34
],
[
21,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
50,
60
],
[
60,
61
],
[
21,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
186,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
68,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
83,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
93,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
82,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
68,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
68,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
68,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
68,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
137,
154
],
[
154,
155
],
[
68,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
163,
171
],
[
171,
172
],
[
172,
173
],
[
163,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
158,
181
],
[
181,
182
],
[
156,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
]
| [
"\n\nimport java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tstatic FastReader in = new FastReader();\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t}\n\n\tstatic void solve() {\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}\n\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tstatic FastReader in = new FastReader();\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t}\n\n\tstatic void solve() {\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"Main",
"static FastReader in = new FastReader();",
"in",
"new FastReader()",
"public static void main(String[] args) {\n\t\tsolve();\n\t}",
"main",
"{\n\t\tsolve();\n\t}",
"solve()",
"solve",
"String[] args",
"args",
"static void solve() {\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"solve",
"{\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"String s = in.nextLine();",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"String t = in.nextLine();",
"t",
"in.nextLine()",
"in.nextLine",
"in",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}",
"if(s.charAt(i) != t.charAt(i)) count++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"static class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"FastReader",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"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",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"nextLine",
"{\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\t\tstr = 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\tstr = br.readLine();\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"int[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"readarr",
"{\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a = new int[abc];",
"a",
"new int[abc]",
"abc",
"for (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < abc",
"i",
"abc",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int abc",
"abc",
"public class Main {\n\tstatic FastReader in = new FastReader();\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t}\n\n\tstatic void solve() {\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic FastReader in = new FastReader();\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t}\n\n\tstatic void solve() {\n\t\tString s = in.nextLine();\n\t\tString t = in.nextLine();\n\t\t\n\t\tint count = 0;\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t{\n\t\t\tif(s.charAt(i) != t.charAt(i)) count++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\n\t\tint[] readarr(int abc) {\n\t\t\tint[] a = new int[abc];\n\t\t\tfor (int i = 0; i < abc; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main {
static FastReader in = new FastReader();
public static void main(String[] args) {
solve();
}
static void solve() {
String s = in.nextLine();
String t = in.nextLine();
int count = 0;
for(int i = 0; i < s.length(); i++)
{
if(s.charAt(i) != t.charAt(i)) count++;
}
System.out.println(count);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
int[] readarr(int abc) {
int[] a = new int[abc];
for (int i = 0; i < abc; 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,
4,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
106,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
75,
76
],
[
76,
77
],
[
71,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
78,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
71,
101
],
[
101,
102
],
[
69,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }\n \n \tpublic static char[] getChars(String str) {\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }\n \n \tpublic static char[] getChars(String str) {\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1 = sc.next();",
"str1",
"sc.next()",
"sc.next",
"sc",
"char[] ch1 = getChars(str1);",
"ch1",
"getChars(str1)",
"getChars",
"str1",
"String str2 = sc.next();",
"str2",
"sc.next()",
"sc.next",
"sc",
"char[] ch2 = getChars(str2);",
"ch2",
"getChars(str2)",
"getChars",
"str2",
"int count = 0;",
"count",
"0",
"for (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }",
"{\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }",
"if(ch1[i] != ch2[i]) {\n count++;\n }",
"ch1[i] != ch2[i]",
"ch1[i]",
"ch1",
"i",
"ch2[i]",
"ch2",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public static char[] getChars(String str) {\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }",
"getChars",
"{\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }",
"char[] ch = new char[str.length()];",
"ch",
"new char[str.length()]",
"str.length()",
"str.length",
"str",
"for (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n ch[i] = str.charAt(i);\n }",
"{\n ch[i] = str.charAt(i);\n }",
"ch[i] = str.charAt(i)",
"ch[i]",
"ch",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"return ch;",
"ch",
"String str",
"str",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }\n \n \tpublic static char[] getChars(String str) {\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n \tString str1 = sc.next();\n char[] ch1 = getChars(str1);\n \tString str2 = sc.next();\n \tchar[] ch2 = getChars(str2);\n\n \tint count = 0;\n \tfor (int i=0; i<str1.length(); i++) {\n if(ch1[i] != ch2[i]) {\n count++;\n }\n }\n\n \tSystem.out.println(count);\n }\n \n \tpublic static char[] getChars(String str) {\n \tchar[] ch = new char[str.length()];\n \tfor (int i=0; i<str.length(); i++) {\n ch[i] = str.charAt(i);\n }\n \treturn ch;\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String str1 = sc.next();
char[] ch1 = getChars(str1);
String str2 = sc.next();
char[] ch2 = getChars(str2);
int count = 0;
for (int i=0; i<str1.length(); i++) {
if(ch1[i] != ch2[i]) {
count++;
}
}
System.out.println(count);
}
public static char[] getChars(String str) {
char[] ch = new char[str.length()];
for (int i=0; i<str.length(); i++) {
ch[i] = str.charAt(i);
}
return ch;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
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
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
56,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Main obj=new Main();",
"obj",
"new Main()",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t=sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int n=s.length()",
"n",
"s.length()",
"s.length",
"s",
"count=0;",
"count",
"0",
"for(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"if(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tint n=s.length(),count=0;\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Main obj=new Main();
Scanner sc=new Scanner(System.in);
String s=sc.next();
String t=sc.next();
int n=s.length(),count=0;
for(int i=0;i<n;i++){
if(s.charAt(i)!=t.charAt(i))
count++;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n\nimport javax.lang.model.util.ElementScanner6;\n \npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import javax.lang.model.util.ElementScanner6;",
"ElementScanner6",
"javax.lang.model.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i ++",
"i ++",
"i",
"{\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}",
"{\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}",
"char s = S.charAt(i);",
"s",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"char t = T.charAt(i);",
"t",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(s != t)\n\t\t\tcount ++;",
"s != t",
"s",
"t",
"count ++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < S.length(); i ++){\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\tif(s != t)\n\t\t\tcount ++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main"
]
| import java.util.*;
import javax.lang.model.util.ElementScanner6;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int count = 0;
for(int i = 0; i < S.length(); i ++){
char s = S.charAt(i);
char t = T.charAt(i);
if(s != t)
count ++;
}
System.out.println(count);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }",
"main",
"{\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }",
"Scanner sc = new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"String x=sc.nextLine();",
"x",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String y=sc.nextLine();",
"y",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int c=0;",
"c",
"0",
"int z=0;",
"z",
"0",
"for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"{\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }",
"{\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }",
"char xx=x.charAt(i);",
"xx",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"char yy=y.charAt(i);",
"yy",
"y.charAt(i)",
"y.charAt",
"y",
"i",
"if(xx!=yy){\n c++;\n }",
"xx!=yy",
"xx",
"yy",
"{\n c++;\n }",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n\n Scanner sc = new Scanner (System.in);\n \n String x=sc.nextLine();\n String y=sc.nextLine();\n \n int c=0;\n int z=0;\n \n for(int i=0;i<x.length();i++){\n char xx=x.charAt(i);\n char yy=y.charAt(i);\n \n if(xx!=yy){\n c++;\n }\n \n \n }\n System.out.println(c);\n \n \n \n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner (System.in);
String x=sc.nextLine();
String y=sc.nextLine();
int c=0;
int z=0;
for(int i=0;i<x.length();i++){
char xx=x.charAt(i);
char yy=y.charAt(i);
if(xx!=yy){
c++;
}
}
System.out.println(c);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
40,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String t = sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int count = 0;",
"count",
"0",
"for(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i= 0;",
"int i= 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}",
"s.substring(i,i+1).equals(t.substring(i,i+1))",
"s.substring(i,i+1).equals",
"s.substring(i,i+1)",
"s.substring",
"s",
"i",
"i+1",
"i",
"1",
"t.substring(i,i+1)",
"t.substring",
"t",
"i",
"i+1",
"i",
"1",
"{\n\n\n\n\t\t\t}",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//正しい\n\t\tString s = sc.nextLine();\n\t\t//間違い\n\t\tString t = sc.nextLine();\n\n\t\t//カウント\n\t\tint count = 0;\n\n\t\t//文字の長さを繰り返す\n\t\tfor(int i= 0;i < s.length();i++) {\n\t\t\t//s,tの判定処理\n\t\t\tif(s.substring(i,i+1).equals(t.substring(i,i+1))){\n\n\n\n\t\t\t}\n\t\t\t//s,tの入力が違う場合\n\t\t\telse {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
//正しい
String s = sc.nextLine();
//間違い
String t = sc.nextLine();
//カウント
int count = 0;
//文字の長さを繰り返す
for(int i= 0;i < s.length();i++) {
//s,tの判定処理
if(s.substring(i,i+1).equals(t.substring(i,i+1))){
}
//s,tの入力が違う場合
else {
count++;
}
}
System.out.println(count);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
139,
5
],
[
139,
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
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
38,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
34,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
34,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
34,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
102,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
34,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
6,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }\n}",
"Main",
"public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }",
"S.equals(T)",
"S.equals",
"S",
"T",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }",
"String[] sArray = new String[S.length()];",
"sArray",
"new String[S.length()]",
"S.length()",
"S.length",
"S",
"String[] tArray = new String[T.length()];",
"tArray",
"new String[T.length()]",
"T.length()",
"T.length",
"T",
"int count = 0;",
"count",
"0",
"for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n sArray[i] = S.substring(i, i+1);\n }",
"{\n sArray[i] = S.substring(i, i+1);\n }",
"sArray[i] = S.substring(i, i+1)",
"sArray[i]",
"sArray",
"i",
"S.substring(i, i+1)",
"S.substring",
"S",
"i",
"i+1",
"i",
"1",
"for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < T.length()",
"i",
"T.length()",
"T.length",
"T",
"i++",
"i++",
"i",
"{\n tArray[i] = T.substring(i, i+1);\n }",
"{\n tArray[i] = T.substring(i, i+1);\n }",
"tArray[i] = T.substring(i, i+1)",
"tArray[i]",
"tArray",
"i",
"T.substring(i, i+1)",
"T.substring",
"T",
"i",
"i+1",
"i",
"1",
"for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < T.length()",
"i",
"T.length()",
"T.length",
"T",
"i++",
"i++",
"i",
"{\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }",
"{\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }",
"if(!sArray[i].equals(tArray[i])){\n count++;\n }",
"!sArray[i].equals(tArray[i])",
"sArray[i].equals(tArray[i])",
"sArray[i].equals",
"sArray[i]",
"sArray",
"i",
"tArray[i]",
"tArray",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if(S.equals(T)){\n System.out.println(0);\n } else {\n String[] sArray = new String[S.length()];\n String[] tArray = new String[T.length()];\n int count = 0;\n for(int i = 0;i < S.length();i++){\n sArray[i] = S.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n tArray[i] = T.substring(i, i+1);\n }\n for(int i = 0;i < T.length();i++){\n if(!sArray[i].equals(tArray[i])){\n count++;\n }\n }\n System.out.println(count);\n }\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args ) throws Exception {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
if(S.equals(T)){
System.out.println(0);
} else {
String[] sArray = new String[S.length()];
String[] tArray = new String[T.length()];
int count = 0;
for(int i = 0;i < S.length();i++){
sArray[i] = S.substring(i, i+1);
}
for(int i = 0;i < T.length();i++){
tArray[i] = T.substring(i, i+1);
}
for(int i = 0;i < T.length();i++){
if(!sArray[i].equals(tArray[i])){
count++;
}
}
System.out.println(count);
}
}
}
|
[
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,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
107,
17
],
[
107,
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
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
107,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
66,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
84,
94
],
[
94,
95
],
[
55,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
53,
100
],
[
100,
101
],
[
53,
102
],
[
102,
103
],
[
53,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Hamadneh\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"BMinorChange solver = new BMinorChange();",
"solver",
"new BMinorChange()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMinorChange {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }",
"solve",
"{\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"String r = in.next();",
"r",
"in.next()",
"in.next",
"in",
"long c = 0;",
"c",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (s.charAt(i) != r.charAt(i))\n c++;\n }",
"{\n if (s.charAt(i) != r.charAt(i))\n c++;\n }",
"if (s.charAt(i) != r.charAt(i))\n c++;",
"s.charAt(i) != r.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"r.charAt(i)",
"r.charAt",
"r",
"i",
"c++",
"c",
"out.print(c)",
"out.print",
"out",
"c",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n String s = in.next();\n String r = in.next();\n long c = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != r.charAt(i))\n c++;\n }\n out.print(c);\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Hamadneh
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BMinorChange solver = new BMinorChange();
solver.solve(1, in, out);
out.close();
}
static class BMinorChange {
public void solve(int testNumber, Scanner in, PrintWriter out) {
String s = in.next();
String r = in.next();
long c = 0;
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != r.charAt(i))
c++;
}
out.print(c);
}
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"//B\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String S = in.next();",
"S",
"in.next()",
"in.next",
"in",
"String T = in.next();",
"T",
"in.next()",
"in.next",
"in",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"char s = S.charAt(i);",
"s",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"char t = T.charAt(i);",
"t",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(s != t) {\n\t\t\t\tcount++;\n\t\t\t}",
"s != t",
"s",
"t",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint count = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tchar s = S.charAt(i);\n\t\t\tchar t = T.charAt(i);\n\t\t\t\n\t\t\tif(s != t) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| //B
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
String S = in.next();
String T = in.next();
int count = 0;
for(int i = 0; i < S.length(); i++) {
char s = S.charAt(i);
char t = T.charAt(i);
if(s != t) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }\n \n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }",
"main",
"{\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }",
"Scanner sc = null;",
"sc",
"null",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String t = sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"char[] cs = s.toCharArray();",
"cs",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] ct = t.toCharArray();",
"ct",
"t.toCharArray()",
"t.toCharArray",
"t",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cs.length",
"i",
"cs.length",
"cs",
"cs.length",
"i++",
"i++",
"i",
"{\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }",
"{\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }",
"if (cs[i] != ct[i]) {\n count +=1;\n }",
"cs[i] != ct[i]",
"cs[i]",
"cs",
"i",
"ct[i]",
"ct",
"i",
"{\n count +=1;\n }",
"count +=1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }\n \n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = null;\n sc = new Scanner(System.in);\n String s = sc.nextLine();\t\n String t = sc.nextLine();\n sc.close();\t\n char[] cs = s.toCharArray();\n char[] ct = t.toCharArray();\n int count = 0;\n for (int i = 0; i < cs.length; i++) {\n if (cs[i] != ct[i]) {\n count +=1;\n } \n }\n System.out.println(count); \n }\n \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = null;
sc = new Scanner(System.in);
String s = sc.nextLine();
String t = sc.nextLine();
sc.close();
char[] cs = s.toCharArray();
char[] ct = t.toCharArray();
int count = 0;
for (int i = 0; i < cs.length; i++) {
if (cs[i] != ct[i]) {
count +=1;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int len = s.length();",
"len",
"s.length()",
"s.length",
"s",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"char a = s.charAt(i);",
"a",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char b = t.charAt(i);",
"b",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(a != b) {\n\t\t\t\tcount++;\n\t\t\t}",
"a != b",
"a",
"b",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint len = s.length();\n\t\tint count = 0;\n\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tchar a = s.charAt(i);\n\t\t\tchar b = t.charAt(i);\n\t\t\tif(a != b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int len = s.length();
int count = 0;
for(int i = 0; i < len; i++) {
char a = s.charAt(i);
char b = t.charAt(i);
if(a != b) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
51,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
71,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\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 Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\n\t}",
"main",
"{\n\t\t Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String a = s.next();",
"a",
"s.next()",
"s.next",
"s",
"String b = s.next();",
"b",
"s.next()",
"s.next",
"s",
"String[] strArrayA = a.split(\"\");",
"strArrayA",
"a.split(\"\")",
"a.split",
"a",
"\"\"",
"String[] strArrayB = b.split(\"\");",
"strArrayB",
"b.split(\"\")",
"b.split",
"b",
"\"\"",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }",
"{\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }",
"String strA = String.valueOf(a.charAt(i));",
"strA",
"String.valueOf(a.charAt(i))",
"String.valueOf",
"String",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"String strB = String.valueOf(b.charAt(i));",
"strB",
"String.valueOf(b.charAt(i))",
"String.valueOf",
"String",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }",
"strA.equals(strB) == false",
"strA.equals(strB)",
"strA.equals",
"strA",
"strB",
"false",
"{\n\t\t\t\t cnt++;\n\t\t\t }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner s = new Scanner(System.in);\n\n\t\t String a = s.next();\n\t\t String b = s.next();\n\n\t\t String[] strArrayA = a.split(\"\");\n\t\t String[] strArrayB = b.split(\"\");\n\n\t\t int cnt = 0;\n\n\t\t for(int i=0; i<a.length(); i++) {\n\t\t\t String strA = String.valueOf(a.charAt(i));\n\t\t\t String strB = String.valueOf(b.charAt(i));\n\t\t\t if(strA.equals(strB) == false) {\n\t\t\t\t cnt++;\n\t\t\t }\n\t\t }\n\n\t\t System.out.println(cnt);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String a = s.next();
String b = s.next();
String[] strArrayA = a.split("");
String[] strArrayB = b.split("");
int cnt = 0;
for(int i=0; i<a.length(); i++) {
String strA = String.valueOf(a.charAt(i));
String strB = String.valueOf(b.charAt(i));
if(strA.equals(strB) == false) {
cnt++;
}
}
System.out.println(cnt);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
29,
8,
2,
13,
17,
4,
13,
13,
2,
13,
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,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
13,
23
],
[
9,
24
],
[
24,
25
],
[
9,
26
],
[
26,
27
],
[
7,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
28,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
7,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
46,
60
],
[
60,
61
],
[
60,
62
],
[
46,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
46,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
44,
97
],
[
97,
98
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main {\n\n\t//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\nstatic int lcm (int a, int b) {return a*b/gcd(a,b);}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tString s = sc.next();\n \tString t = sc.next();\n \tint cnt = 0;\n \t\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }\n System.out.println(cnt);\n }\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\n\t//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\nstatic int lcm (int a, int b) {return a*b/gcd(a,b);}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tString s = sc.next();\n \tString t = sc.next();\n \tint cnt = 0;\n \t\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }\n System.out.println(cnt);\n }\n\t}",
"Main",
"//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}",
"gcd",
"{return b>0?gcd(b,a%b):a;}",
"return b>0?gcd(b,a%b):a;",
"b>0?gcd(b,a%b):a",
"b>0",
"b",
"0",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"a",
"int a",
"a",
"int b",
"b",
"static int lcm (int a, int b) {return a*b/gcd(a,b);}",
"lcm",
"{return a*b/gcd(a,b);}",
"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 void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tString s = sc.next();\n \tString t = sc.next();\n \tint cnt = 0;\n \t\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }\n System.out.println(cnt);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tString s = sc.next();\n \tString t = sc.next();\n \tint cnt = 0;\n \t\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }\n System.out.println(cnt);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0;i<s.length();i++){\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }",
"{\n \tif(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }\n }",
"if(s.charAt(i) != t.charAt(i)){\n \tcnt++;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n \tcnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main {
//最大公約数・最小公倍数(セットで使う)
static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}
static int lcm (int a, int b) {return a*b/gcd(a,b);}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int cnt = 0;
for(int i=0;i<s.length();i++){
if(s.charAt(i) != t.charAt(i)){
cnt++;
}
}
System.out.println(cnt);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"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 \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\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 \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\n }",
"main",
"{\n \n Scanner scanner = new Scanner(System.in);\n \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String S = scanner.next();",
"S",
"scanner.next()",
"scanner.next",
"scanner",
"String T = scanner.next();",
"T",
"scanner.next()",
"scanner.next",
"scanner",
"int count = 0;",
"count",
"0",
"for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }",
"{\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }",
"if(S.charAt(i)!=T.charAt(i)){\n count++;\n }",
"S.charAt(i)!=T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n String S = scanner.next();\n String T = scanner.next();\n int count = 0;\n \n for(int i=0; i<S.length(); i++){\n if(S.charAt(i)!=T.charAt(i)){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
String S = scanner.next();
String T = scanner.next();
int count = 0;
for(int i=0; i<S.length(); i++){
if(S.charAt(i)!=T.charAt(i)){
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"\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\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\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\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String T = sc.nextLine();",
"T",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int s = S.length();",
"s",
"S.length()",
"S.length",
"S",
"int ans = 0;",
"ans",
"0",
"for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }",
"{\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }",
"if(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}",
"!((S.charAt(i)==(T.charAt(i))))",
"((S.charAt(i)==(T.charAt(i))))",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"(T.charAt(i))",
"T.charAt",
"T",
"i",
"{\n\t \t\tans ++;\n\t \t}",
"ans ++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\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\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tint s = S.length();\n\t\tint ans = 0;\n\n\t for(int i = 0;i<S.length();i++) {\n\t \tif(!((S.charAt(i)==(T.charAt(i))))){\n\t \t\tans ++;\n\t \t}\n\t }\n\t System.out.println(ans);\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);
String S = sc.nextLine();
String T = sc.nextLine();
int s = S.length();
int ans = 0;
for(int i = 0;i<S.length();i++) {
if(!((S.charAt(i)==(T.charAt(i))))){
ans ++;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}",
"main",
"{\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}",
"Scanner input=new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String s=input.next();",
"s",
"input.next()",
"input.next",
"input",
"String t=input.next();",
"t",
"input.next()",
"input.next",
"input",
"char[] s1=s.toCharArray();",
"s1",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] t1=t.toCharArray();",
"t1",
"t.toCharArray()",
"t.toCharArray",
"t",
"int suma=0;",
"suma",
"0",
"for(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}",
"if(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}",
"s1[i]!=t1[i]",
"s1[i]",
"s1",
"i",
"t1[i]",
"t1",
"i",
"{\n\t\t\t\tsuma++;\n\t\t\t}",
"suma++",
"suma",
"System.out.println(suma)",
"System.out.println",
"System.out",
"System",
"System.out",
"suma",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);// TODO Auto-generated method stub\n\t\tString s=input.next();\n\t\tString t=input.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint suma=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s1[i]!=t1[i]) {\n\t\t\t\tsuma++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(suma);\n\t\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);// TODO Auto-generated method stub
String s=input.next();
String t=input.next();
char[] s1=s.toCharArray();
char[] t1=t.toCharArray();
int suma=0;
for(int i=0;i<s.length();i++) {
if(s1[i]!=t1[i]) {
suma++;
}
}
System.out.println(suma);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
10,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
10,
28
],
[
28,
29
],
[
28,
30
],
[
10,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
10,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}",
"try (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}",
"{\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}",
"final Scanner sc = new Scanner(System.in)",
"final Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"final char[] s = sc.next().toCharArray();",
"s",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"final char[] t = sc.next().toCharArray();",
"t",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int c=0;",
"c",
"0",
"for(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i< s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}",
"if(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n\t\t\t\t\tc++;\n\t\t\t\t}",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (final Scanner sc = new Scanner(System.in);) {\n\t\t\tfinal char[] s = sc.next().toCharArray();\n\t\t\tfinal char[] t = sc.next().toCharArray();\n\n\t\t\tint c=0;\n\t\t\tfor(int i=0; i< s.length; i++) {\n\t\t\t\tif(s[i]!=t[i]) {\n\t\t\t\t\tc++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (final Scanner sc = new Scanner(System.in);) {
final char[] s = sc.next().toCharArray();
final char[] t = sc.next().toCharArray();
int c=0;
for(int i=0; i< s.length; i++) {
if(s[i]!=t[i]) {
c++;
}
}
System.out.println(c);
}
}
} |
[
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,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
]
]
| [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint diff = 0;\n\t\t\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\t\t\n\t\tfor(int i=0;i<ss.length;i++) {\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(diff);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint diff = 0;\n\t\t\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\t\t\n\t\tfor(int i=0;i<ss.length;i++) {\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(diff);\n\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint diff = 0;\n\t\t\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\t\t\n\t\tfor(int i=0;i<ss.length;i++) {\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(diff);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint diff = 0;\n\t\t\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\t\t\n\t\tfor(int i=0;i<ss.length;i++) {\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(diff);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int diff = 0;",
"diff",
"0",
"String[] ss = s.split(\"\");",
"ss",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String[] tt = t.split(\"\");",
"tt",
"t.split(\"\")",
"t.split",
"t",
"\"\"",
"for(int i=0;i<ss.length;i++) {\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ss.length",
"i",
"ss.length",
"ss",
"ss.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}\n\t\t}",
"if(ss[i].equals(tt[i])) {\n\t\t\t}else {\n\t\t\t\tdiff++;\n\t\t\t}",
"ss[i].equals(tt[i])",
"ss[i].equals",
"ss[i]",
"ss",
"i",
"tt[i]",
"tt",
"i",
"{\n\t\t\t}",
"{\n\t\t\t\tdiff++;\n\t\t\t}",
"diff++",
"diff",
"System.out.println(diff)",
"System.out.println",
"System.out",
"System",
"System.out",
"diff",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int diff = 0;
String[] ss = s.split("");
String[] tt = t.split("");
for(int i=0;i<ss.length;i++) {
if(ss[i].equals(tt[i])) {
}else {
diff++;
}
}
System.out.println(diff);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
113,
8
],
[
113,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
9,
26
],
[
26,
27
],
[
113,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
30,
53
],
[
53,
54
],
[
28,
55
],
[
55,
56
],
[
28,
57
],
[
57,
58
],
[
113,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
63,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
63,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
108,
109
],
[
63,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"main",
"{\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"Object o = run();",
"o",
"run()",
"run",
"if (o != null)\n System.out.println(o);",
"o != null",
"o",
"null",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"String[] args",
"args",
"private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"nScan",
"{\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n al.add(sc.nextInt());\n }",
"{\n al.add(sc.nextInt());\n }",
"al.add(sc.nextInt())",
"al.add",
"al",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return al;",
"al",
"Scanner sc",
"sc",
"int n",
"n",
"private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }",
"run",
"{\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }",
"try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }",
"{\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int result = 0;",
"result",
"0",
"char[] s = sc.next().toCharArray();",
"s",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"char[] t = sc.next().toCharArray();",
"t",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if (s[i] != t[i]) {\n result++;\n }\n }",
"{\n if (s[i] != t[i]) {\n result++;\n }\n }",
"if (s[i] != t[i]) {\n result++;\n }",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n result++;\n }",
"result++",
"result",
"return result;",
"result",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int result = 0;\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i]) {\n result++;\n }\n }\n return result;\n }\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Object o = run();
if (o != null)
System.out.println(o);
}
private static ArrayList<Integer> nScan(Scanner sc, int n) {
ArrayList<Integer> al = new ArrayList<>();
for (int i = 0; i < n; i++) {
al.add(sc.nextInt());
}
return al;
}
private static Object run() {
try (Scanner sc = new Scanner(System.in);) {
int result = 0;
char[] s = sc.next().toCharArray();
char[] t = sc.next().toCharArray();
//int y = sc.nextInt();
//int t = sc.next();
//ArrayList<Integer> x = nScan(sc, n);
//ArrayList<Integer> y = nScan(sc, n);
//ArrayList<String> s = nScan(sc, n);
for (int i = 0; i < s.length; i++) {
if (s[i] != t[i]) {
result++;
}
}
return result;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
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
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"char[] s = scanner.nextLine().toCharArray();",
"s",
"scanner.nextLine().toCharArray()",
"scanner.nextLine().toCharArray",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"char[] t = scanner.nextLine().toCharArray();",
"t",
"scanner.nextLine().toCharArray()",
"scanner.nextLine().toCharArray",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"long ans = 0;",
"ans",
"0",
"for(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}",
"{\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}",
"if(s[i] != t[i]) ans++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tchar[] s = scanner.nextLine().toCharArray();\n\t\tchar[] t = scanner.nextLine().toCharArray();\n\t\tlong ans = 0;\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\n\t\t\tif(s[i] != t[i]) ans++;\n\n\t\t}\n\n \t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
char[] s = scanner.nextLine().toCharArray();
char[] t = scanner.nextLine().toCharArray();
long ans = 0;
for(int i = 0; i < s.length; i++) {
if(s[i] != t[i]) ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
8,
4,
18,
13,
18,
13,
13,
20,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
20,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
193,
29
],
[
193,
30
],
[
30,
31
],
[
30,
32
],
[
193,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
64,
74
],
[
74,
75
],
[
35,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
33,
80
],
[
80,
81
],
[
33,
82
],
[
82,
83
],
[
193,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
86,
102
],
[
102,
103
],
[
102,
104
],
[
86,
105
],
[
105,
106
],
[
105,
107
],
[
86,
108
],
[
108,
109
],
[
108,
110
],
[
108,
111
],
[
86,
112
],
[
112,
113
],
[
113,
114
],
[
84,
115
],
[
115,
116
],
[
193,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
117,
121
],
[
121,
122
],
[
117,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
123,
136
],
[
136,
137
],
[
117,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
141,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
140,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
117,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
117,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
117,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
0,
192
],
[
192,
193
],
[
192,
194
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.File;",
"File",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"Main",
"private static final String INPUT_FILE_PATH = \"\";",
"INPUT_FILE_PATH",
"\"\"",
"static void solve(InputReader in, PrintWriter out) {\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }",
"solve",
"{\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }",
"String s = in.nextToken();",
"s",
"in.nextToken()",
"in.nextToken",
"in",
"String t = in.nextToken();",
"t",
"in.nextToken()",
"in.nextToken",
"in",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"{\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"if (s.charAt(i) != t.charAt(i)) ans++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }",
"main",
"{\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }",
"InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));",
"inputStream",
"INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH))",
"INPUT_FILE_PATH.isEmpty()",
"INPUT_FILE_PATH.isEmpty",
"INPUT_FILE_PATH",
"System.in",
"System",
"System.in",
"new FileInputStream(new File(INPUT_FILE_PATH))",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader inputReader = new InputReader(inputStream);",
"inputReader",
"new InputReader(inputStream)",
"PrintWriter printWriter = new PrintWriter(outputStream);",
"printWriter",
"new PrintWriter(outputStream)",
"solve(inputReader, printWriter)",
"solve",
"inputReader",
"printWriter",
"printWriter.close()",
"printWriter.close",
"printWriter",
"String[] args",
"args",
"private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"InputReader",
"{\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"this.br = new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.br",
"this",
"this.br",
"new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.st = null",
"this.st",
"this",
"this.st",
"null",
"InputStream inputStream",
"inputStream",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n 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() {\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() {\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 private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n String s = in.nextToken();\n String t = in.nextToken();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.println(ans);\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
private static final String INPUT_FILE_PATH = "";
static void solve(InputReader in, PrintWriter out) {
String s = in.nextToken();
String t = in.nextToken();
int ans = 0;
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != t.charAt(i)) ans++;
}
out.println(ans);
}
private static class InputReader {
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream inputStream) {
this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);
this.st = null;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(nextToken());
}
public long nextLong() {
return Long.parseLong(nextToken());
}
public double nextDouble() {
return Double.parseDouble(nextToken());
}
}
public static void main(String[] args) throws Exception {
InputStream inputStream = INPUT_FILE_PATH.isEmpty()
? System.in
: new FileInputStream(new File(INPUT_FILE_PATH));
OutputStream outputStream = System.out;
InputReader inputReader = new InputReader(inputStream);
PrintWriter printWriter = new PrintWriter(outputStream);
solve(inputReader, printWriter);
printWriter.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
20,
42,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
42,
2,
2,
13,
13,
17,
30,
4,
18,
13,
13,
0,
13,
13,
14,
2,
13,
17,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
9,
41,
13,
13,
41,
13,
2,
13,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
9,
4,
18,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
14,
2,
13,
17,
29,
17,
0,
13,
4,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
29,
2,
13,
13,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
2,
13,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
13,
13,
29,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
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,
6,
13,
12,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
29,
2,
18,
13,
13,
18,
13,
13,
29,
2,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
20,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
762,
11
],
[
762,
12
],
[
12,
13
],
[
12,
14
],
[
762,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
15,
67
],
[
67,
68
],
[
762,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
71,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
71,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
95,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
109,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
71,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
71,
131
],
[
131,
132
],
[
69,
133
],
[
133,
134
],
[
762,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
145,
151
],
[
151,
152
],
[
151,
153
],
[
137,
154
],
[
154,
155
],
[
135,
156
],
[
156,
157
],
[
762,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
160,
167
],
[
167,
168
],
[
167,
169
],
[
160,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
170,
175
],
[
175,
176
],
[
175,
177
],
[
170,
178
],
[
178,
179
],
[
179,
180
],
[
170,
181
],
[
182,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
183,
189
],
[
182,
190
],
[
190,
191
],
[
190,
192
],
[
182,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
182,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
182,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
182,
208
],
[
208,
209
],
[
209,
210
],
[
208,
211
],
[
211,
212
],
[
211,
213
],
[
160,
214
],
[
214,
215
],
[
158,
216
],
[
216,
217
],
[
762,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
220,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
220,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
231,
233
],
[
231,
234
],
[
234,
235
],
[
234,
236
],
[
220,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
237,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
237,
247
],
[
247,
248
],
[
249,
249
],
[
249,
250
],
[
249,
251
],
[
249,
252
],
[
218,
253
],
[
253,
254
],
[
218,
255
],
[
255,
256
],
[
762,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
259,
266
],
[
266,
267
],
[
266,
268
],
[
269,
270
],
[
269,
271
],
[
259,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
274,
277
],
[
259,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
278,
283
],
[
283,
284
],
[
283,
285
],
[
278,
286
],
[
286,
287
],
[
287,
288
],
[
278,
289
],
[
290,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
291,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
298,
305
],
[
305,
306
],
[
305,
307
],
[
298,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
298,
312
],
[
313,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
259,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
319,
324
],
[
324,
325
],
[
324,
326
],
[
319,
327
],
[
327,
328
],
[
328,
329
],
[
319,
330
],
[
331,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
332,
338
],
[
338,
339
],
[
339,
340
],
[
338,
341
],
[
259,
342
],
[
342,
343
],
[
762,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
351
],
[
351,
352
],
[
346,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
354,
357
],
[
357,
358
],
[
357,
359
],
[
344,
360
],
[
360,
361
],
[
344,
362
],
[
362,
363
],
[
762,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
364,
368
],
[
368,
369
],
[
364,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
372,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
370,
383
],
[
383,
384
],
[
370,
385
],
[
385,
386
],
[
762,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
397
],
[
397,
398
],
[
397,
399
],
[
392,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
403,
405
],
[
402,
406
],
[
406,
407
],
[
406,
408
],
[
391,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
414,
416
],
[
389,
417
],
[
417,
418
],
[
389,
419
],
[
419,
420
],
[
387,
421
],
[
762,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
422,
426
],
[
426,
427
],
[
422,
428
],
[
428,
429
],
[
428,
430
],
[
762,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
435,
437
],
[
431,
438
],
[
438,
439
],
[
431,
440
],
[
440,
441
],
[
431,
442
],
[
442,
443
],
[
431,
444
],
[
444,
445
],
[
431,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
448,
452
],
[
452,
453
],
[
452,
454
],
[
448,
456
],
[
456,
457
],
[
456,
458
],
[
458,
459
],
[
458,
460
],
[
431,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
464,
465
],
[
464,
466
],
[
463,
467
],
[
467,
468
],
[
467,
469
],
[
463,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
473,
475
],
[
461,
476
],
[
476,
477
],
[
431,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
480,
485
],
[
485,
486
],
[
485,
487
],
[
480,
488
],
[
488,
489
],
[
480,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
494,
495
],
[
491,
496
],
[
496,
497
],
[
490,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
499,
503
],
[
498,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
504,
509
],
[
480,
510
],
[
510,
511
],
[
431,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
515,
516
],
[
515,
517
],
[
514,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
514,
522
],
[
522,
523
],
[
523,
524
],
[
523,
525
],
[
522,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
514,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
532,
534
],
[
514,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
514,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
546,
547
],
[
543,
548
],
[
542,
549
],
[
549,
550
],
[
549,
551
],
[
541,
552
],
[
552,
553
],
[
553,
554
],
[
553,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
556,
560
],
[
555,
561
],
[
514,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
565,
566
],
[
514,
567
],
[
567,
568
],
[
431,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
571,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
571,
579
],
[
579,
580
],
[
580,
581
],
[
580,
582
],
[
579,
583
],
[
583,
584
],
[
583,
585
],
[
585,
586
],
[
571,
587
],
[
587,
588
],
[
587,
589
],
[
589,
590
],
[
589,
591
],
[
571,
592
],
[
592,
593
],
[
592,
594
],
[
594,
595
],
[
594,
596
],
[
596,
597
],
[
571,
598
],
[
598,
599
],
[
599,
600
],
[
600,
601
],
[
601,
602
],
[
601,
603
],
[
603,
604
],
[
600,
605
],
[
599,
606
],
[
606,
607
],
[
606,
608
],
[
598,
609
],
[
609,
610
],
[
610,
611
],
[
610,
612
],
[
612,
613
],
[
613,
614
],
[
614,
615
],
[
614,
616
],
[
613,
617
],
[
612,
618
],
[
571,
619
],
[
619,
620
],
[
619,
621
],
[
621,
622
],
[
622,
623
],
[
571,
624
],
[
624,
625
],
[
431,
626
],
[
626,
627
],
[
626,
628
],
[
628,
629
],
[
629,
630
],
[
629,
631
],
[
628,
632
],
[
632,
633
],
[
632,
634
],
[
628,
635
],
[
635,
636
],
[
635,
637
],
[
637,
638
],
[
628,
639
],
[
639,
640
],
[
640,
641
],
[
640,
642
],
[
639,
643
],
[
643,
644
],
[
643,
645
],
[
645,
646
],
[
628,
647
],
[
647,
648
],
[
647,
649
],
[
649,
650
],
[
649,
651
],
[
628,
652
],
[
652,
653
],
[
652,
654
],
[
654,
655
],
[
654,
656
],
[
656,
657
],
[
628,
658
],
[
658,
659
],
[
659,
660
],
[
660,
661
],
[
661,
662
],
[
661,
663
],
[
663,
664
],
[
660,
665
],
[
659,
666
],
[
666,
667
],
[
666,
668
],
[
658,
669
],
[
669,
670
],
[
670,
671
],
[
670,
672
],
[
672,
673
],
[
673,
674
],
[
674,
675
],
[
674,
676
],
[
673,
677
],
[
672,
678
],
[
628,
679
],
[
679,
680
],
[
680,
681
],
[
680,
682
],
[
679,
683
],
[
683,
684
],
[
684,
685
],
[
685,
686
],
[
686,
687
],
[
687,
688
],
[
687,
689
],
[
689,
690
],
[
686,
691
],
[
685,
692
],
[
692,
693
],
[
692,
694
],
[
684,
695
],
[
695,
696
],
[
696,
697
],
[
696,
698
],
[
698,
699
],
[
699,
700
],
[
699,
701
],
[
698,
702
],
[
702,
703
],
[
702,
704
],
[
628,
705
],
[
705,
706
],
[
705,
707
],
[
707,
708
],
[
708,
709
],
[
628,
710
],
[
710,
711
],
[
431,
712
],
[
712,
713
],
[
712,
714
],
[
714,
715
],
[
715,
716
],
[
715,
717
],
[
717,
718
],
[
718,
719
],
[
717,
720
],
[
717,
721
],
[
721,
722
],
[
721,
723
],
[
717,
724
],
[
714,
725
],
[
725,
726
],
[
726,
727
],
[
726,
728
],
[
728,
729
],
[
725,
730
],
[
730,
731
],
[
731,
732
],
[
731,
733
],
[
730,
734
],
[
734,
735
],
[
431,
736
],
[
736,
737
],
[
736,
738
],
[
738,
739
],
[
739,
740
],
[
740,
741
],
[
740,
742
],
[
739,
743
],
[
743,
744
],
[
738,
745
],
[
745,
746
],
[
746,
747
],
[
746,
748
],
[
748,
749
],
[
431,
750
],
[
750,
751
],
[
750,
752
],
[
752,
753
],
[
753,
754
],
[
754,
755
],
[
754,
756
],
[
753,
757
],
[
752,
758
],
[
758,
759
],
[
759,
760
],
[
0,
761
],
[
761,
762
],
[
761,
763
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\npublic class Main{\n\tpublic static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));\n\tpublic static void main(String sp[])throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}\n\t\n\t\n\tpublic static ArrayList<Integer> primefactor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}\n\t\n\tpublic static long sum(long val){\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}\n\t\n\t\n\t\n\tpublic static ArrayList<Integer> factor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}\n\t\n\tpublic static int power(int x, int y) \n\t{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t} \n\t\n\tpublic static ArrayList<Integer> comp(){\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}\n\t\n\tpublic static class pair{\n\t\tint x;\n\t\tint y;\n\t\tpair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}\n\t}\n\t\n\tpublic static class comp implements Comparator<pair>{\n\t\tpublic int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}\n\t}\n\t\n\t\n\t\n\t\n\tstatic class Node{\n\t\tint node;\n\t\tint d;\n\t\tArrayList<Integer> al = new ArrayList<>();\t\n\t}\n\t\n\n\tstatic long gcd(long a, long b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }\n\t\n\t\t\n\tstatic class FastReader \n\t{ \n\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\tprivate DataInputStream din; \n\t\tprivate byte[] buffer; \n\t\tprivate int bufferPointer, bytesRead; \n \n\t\tpublic FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t} \n \n\t\tpublic int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tprivate void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t} \n \n\t\tprivate byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t} \n \n\t\tpublic void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t} \n\t} \n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n\tpublic static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));\n\tpublic static void main(String sp[])throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}\n\t\n\t\n\tpublic static ArrayList<Integer> primefactor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}\n\t\n\tpublic static long sum(long val){\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}\n\t\n\t\n\t\n\tpublic static ArrayList<Integer> factor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}\n\t\n\tpublic static int power(int x, int y) \n\t{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t} \n\t\n\tpublic static ArrayList<Integer> comp(){\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}\n\t\n\tpublic static class pair{\n\t\tint x;\n\t\tint y;\n\t\tpair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}\n\t}\n\t\n\tpublic static class comp implements Comparator<pair>{\n\t\tpublic int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}\n\t}\n\t\n\t\n\t\n\t\n\tstatic class Node{\n\t\tint node;\n\t\tint d;\n\t\tArrayList<Integer> al = new ArrayList<>();\t\n\t}\n\t\n\n\tstatic long gcd(long a, long b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }\n\t\n\t\t\n\tstatic class FastReader \n\t{ \n\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\tprivate DataInputStream din; \n\t\tprivate byte[] buffer; \n\t\tprivate int bufferPointer, bytesRead; \n \n\t\tpublic FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t} \n \n\t\tpublic int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tprivate void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t} \n \n\t\tprivate byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t} \n \n\t\tpublic void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t} \n\t} \n}",
"Main",
"public static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));",
"out",
"new PrintWriter (new BufferedOutputStream(System.out))",
"public static void main(String sp[])throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"String s2 = sc.next();",
"s2",
"sc.next()",
"sc.next",
"sc",
"int c =0;",
"c",
"0",
"for(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"i++",
"i++",
"i",
"{\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}",
"{\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}",
"if(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;",
"s1.charAt(i)!=s2.charAt(i)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(i)",
"s2.charAt",
"s2",
"i",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String sp[]",
"sp",
"public static ArrayList<Integer> primefactor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}",
"primefactor",
"{\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}",
"int sqrt = (int)Math.sqrt(n);",
"sqrt",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"while(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}",
"n%2==0",
"n%2",
"n",
"2",
"0",
"{\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}",
"al.add(2)",
"al.add",
"al",
"2",
"n/=2",
"n",
"2",
"for(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}",
"int i=3;",
"int i=3;",
"i",
"3",
"i<=sqrt",
"i",
"sqrt",
"i+=2",
"i+=2",
"i",
"2",
"{\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}",
"{\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}",
"while(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}",
"al.add(i)",
"al.add",
"al",
"i",
"n/=i",
"n",
"i",
"if(n>2)\n\t\t\tal.add(n);",
"n>2",
"n",
"2",
"al.add(n)",
"al.add",
"al",
"n",
"return al;",
"al",
"int n",
"n",
"public static long sum(long val){\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}",
"sum",
"{\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}",
"long fg =0 ;",
"fg",
"0",
"while(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}",
"val!=0",
"val",
"0",
"{\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}",
"fg+=val%10",
"fg",
"val%10",
"val",
"10",
"val/=10",
"val",
"10",
"return fg;",
"fg",
"long val",
"val",
"public static ArrayList<Integer> factor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}",
"factor",
"{\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}",
"int sqrt = (int)Math.sqrt(n);",
"sqrt",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=sqrt",
"i",
"sqrt",
"i++",
"i++",
"i",
"{\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}",
"{\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}",
"if(n%i!=0)\n\t\t\t\tcontinue;",
"n%i!=0",
"n%i",
"n",
"i",
"0",
"continue;",
"int first = i;",
"first",
"i",
"int second = n/i;",
"second",
"n/i",
"n",
"i",
"al.add(i)",
"al.add",
"al",
"i",
"if(first==second){\n\t\t\t\tcontinue;\n\t\t\t}",
"first==second",
"first",
"second",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"al.add(n/i)",
"al.add",
"al",
"n/i",
"n",
"i",
"return al;",
"al",
"int n",
"n",
"public static int power(int x, int y) \n\t{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t}",
"power",
"{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t}",
"int temp;",
"temp",
"if( y == 0) \n\t\t\treturn 1;",
"y == 0",
"y",
"0",
"return 1;",
"1",
"temp = power(x, y/2)",
"temp",
"power(x, y/2)",
"power",
"x",
"y/2",
"y",
"2",
"if (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp;",
"y%2 == 0",
"y%2",
"y",
"2",
"0",
"return temp*temp;",
"temp*temp",
"temp",
"temp",
"return x*temp*temp;",
"x*temp*temp",
"x*temp*temp",
"x",
"temp",
"temp",
"int x",
"x",
"int y",
"y",
"public static ArrayList<Integer> comp(){\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}",
"comp",
"{\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"int n = (int)2e5;",
"n",
"(int)2e5",
"boolean arr[] = new boolean[n+1];",
"arr",
"new boolean[n+1]",
"n+1",
"n",
"1",
"int sqrt = (int)Math.sqrt(n);",
"sqrt",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"for(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=sqrt",
"i",
"sqrt",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"if(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}",
"arr[i]==false",
"arr[i]",
"arr",
"i",
"false",
"{\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}",
"int j=i*i;",
"int j=i*i;",
"j",
"i*i",
"i",
"i",
"j<=n",
"j",
"n",
"j+=i",
"j+=i",
"j",
"i",
"{\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}",
"arr[j]=true",
"arr[j]",
"arr",
"j",
"true",
"for(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}",
"{\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}",
"if(arr[i]==false)\n\t\t\t\t\tal.add(i);",
"arr[i]==false",
"arr[i]",
"arr",
"i",
"false",
"al.add(i)",
"al.add",
"al",
"i",
"return al;",
"al",
"static long gcd(long a, long b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }",
"gcd",
"{ \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }",
"if (b == 0) \n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public static class pair{\n\t\tint x;\n\t\tint y;\n\t\tpair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}\n\t}",
"pair",
"int x;",
"x",
"int y;",
"y",
"pair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}",
"pair",
"{\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}",
"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 static class comp implements Comparator<pair>{\n\t\tpublic int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}\n\t}",
"comp",
"public int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}",
"compare",
"{\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}",
"if(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}",
"o1.y==o2.y",
"o1.y",
"o1",
"o1.y",
"o2.y",
"o2",
"o2.y",
"{\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}",
"return o2.x-o1.x;",
"o2.x-o1.x",
"o2.x",
"o2",
"o2.x",
"o1.x",
"o1",
"o1.x",
"return o2.y-o1.y;",
"o2.y-o1.y",
"o2.y",
"o2",
"o2.y",
"o1.y",
"o1",
"o1.y",
"pair o1",
"o1",
"pair o2",
"o2",
"Comparator",
"static class Node{\n\t\tint node;\n\t\tint d;\n\t\tArrayList<Integer> al = new ArrayList<>();\t\n\t}",
"Node",
"int node;",
"node",
"int d;",
"d",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"static class FastReader \n\t{ \n\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\tprivate DataInputStream din; \n\t\tprivate byte[] buffer; \n\t\tprivate int bufferPointer, bytesRead; \n \n\t\tpublic FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t} \n \n\t\tpublic int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tprivate void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t} \n \n\t\tprivate byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t} \n \n\t\tpublic void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t} \n\t}",
"FastReader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t}",
"FastReader",
"{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t}",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t}",
"FastReader",
"{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t}",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t}",
"readLine",
"{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t}",
"byte[] buf = new byte[64];",
"buf",
"new byte[64]",
"64",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t}",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t}",
"if (c == '\\n') \n\t\t\t\t\tbreak;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"nextInt",
"{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"nextLong",
"{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"nextDouble",
"{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t}",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t}",
"c == '.'",
"c",
"'.'",
"{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t}",
"while ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t}",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t}",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg) \n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t}",
"fillBuffer",
"{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t}",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t}",
"read",
"{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t}",
"if (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t}",
"close",
"{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t}",
"if (din == null) \n\t\t\t\treturn;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main{\n\tpublic static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));\n\tpublic static void main(String sp[])throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}\n\t\n\t\n\tpublic static ArrayList<Integer> primefactor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}\n\t\n\tpublic static long sum(long val){\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}\n\t\n\t\n\t\n\tpublic static ArrayList<Integer> factor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}\n\t\n\tpublic static int power(int x, int y) \n\t{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t} \n\t\n\tpublic static ArrayList<Integer> comp(){\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}\n\t\n\tpublic static class pair{\n\t\tint x;\n\t\tint y;\n\t\tpair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}\n\t}\n\t\n\tpublic static class comp implements Comparator<pair>{\n\t\tpublic int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}\n\t}\n\t\n\t\n\t\n\t\n\tstatic class Node{\n\t\tint node;\n\t\tint d;\n\t\tArrayList<Integer> al = new ArrayList<>();\t\n\t}\n\t\n\n\tstatic long gcd(long a, long b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }\n\t\n\t\t\n\tstatic class FastReader \n\t{ \n\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\tprivate DataInputStream din; \n\t\tprivate byte[] buffer; \n\t\tprivate int bufferPointer, bytesRead; \n \n\t\tpublic FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t} \n \n\t\tpublic int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tprivate void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t} \n \n\t\tprivate byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t} \n \n\t\tpublic void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t} \n\t} \n}",
"public class Main{\n\tpublic static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));\n\tpublic static void main(String sp[])throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//FastReader sc = new FastReader();\t\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tint c =0;\n\t\tfor(int i=0;i<s1.length();i++){\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t\n\t}\n\t\n\t\n\tpublic static ArrayList<Integer> primefactor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\twhile(n%2==0){\n\t\t\tal.add(2);\n\t\t\tn/=2;\n\t\t}\n\t\tfor(int i=3;i<=sqrt;i+=2){\n\t\t\twhile(n%i==0){\n\t\t\t\tal.add(i);\n\t\t\t\tn/=i;\n\t\t\t}\n\t\t}\n\t\tif(n>2)\n\t\t\tal.add(n);\n\t\treturn al;\n\t}\n\t\n\tpublic static long sum(long val){\n\t\tlong fg =0 ;\n\t\twhile(val!=0){\n\t\t\tfg+=val%10;\n\t\t\tval/=10;\n\t\t}\n\t\treturn fg;\n\t}\n\t\n\t\n\t\n\tpublic static ArrayList<Integer> factor(int n){\n\t\tint sqrt = (int)Math.sqrt(n);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int i=1;i<=sqrt;i++){\n\t\t\tif(n%i!=0)\n\t\t\t\tcontinue;\n\t\t\tint first = i;\n\t\t\tint second = n/i;\n\t\t\tal.add(i);\n\t\t\tif(first==second){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tal.add(n/i);\n\t\t}\n\t\treturn al;\n\t}\n\t\n\tpublic static int power(int x, int y) \n\t{ \n\t\tint temp; \n\t\tif( y == 0) \n\t\t\treturn 1; \n\t\ttemp = power(x, y/2); \n\t\tif (y%2 == 0) \n\t\t\treturn temp*temp; \n\t\telse\n\t\t\treturn x*temp*temp; \n\t} \n\t\n\tpublic static ArrayList<Integer> comp(){\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tint n = (int)2e5;\n\t\t\tboolean arr[] = new boolean[n+1];\n\t\t\tint sqrt = (int)Math.sqrt(n);\n\t\t\tfor(int i=2;i<=sqrt;i++){\n\t\t\t\tif(arr[i]==false){\n\t\t\t\t\tfor(int j=i*i;j<=n;j+=i){\n\t\t\t\t\t\tarr[j]=true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=2;i<=n;i++){\n\t\t\t\tif(arr[i]==false)\n\t\t\t\t\tal.add(i);\n\t\t\t}\n\t\t\t\n\t\treturn al;\n\t}\n\t\n\tpublic static class pair{\n\t\tint x;\n\t\tint y;\n\t\tpair(int x, int y){\n\t\t\tthis.x=x;\n\t\t\tthis.y=y;\n\t\t}\n\t}\n\t\n\tpublic static class comp implements Comparator<pair>{\n\t\tpublic int compare(pair o1, pair o2){\n\t\t\tif(o1.y==o2.y){\n\t\t\t\treturn o2.x-o1.x;\n\t\t\t}\n\t\t\treturn o2.y-o1.y;\n\t\t}\n\t}\n\t\n\t\n\t\n\t\n\tstatic class Node{\n\t\tint node;\n\t\tint d;\n\t\tArrayList<Integer> al = new ArrayList<>();\t\n\t}\n\t\n\n\tstatic long gcd(long a, long b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }\n\t\n\t\t\n\tstatic class FastReader \n\t{ \n\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\tprivate DataInputStream din; \n\t\tprivate byte[] buffer; \n\t\tprivate int bufferPointer, bytesRead; \n \n\t\tpublic FastReader() \n\t\t{ \n\t\t\tdin = new DataInputStream(System.in); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic FastReader(String file_name) throws IOException \n\t\t{ \n\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\tbufferPointer = bytesRead = 0; \n\t\t} \n \n\t\tpublic String readLine() throws IOException \n\t\t{ \n\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\tint cnt = 0, c; \n\t\t\twhile ((c = read()) != -1) \n\t\t\t{ \n\t\t\t\tif (c == '\\n') \n\t\t\t\t\tbreak; \n\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t} \n\t\t\treturn new String(buf, 0, cnt); \n\t\t} \n \n\t\tpublic int nextInt() throws IOException \n\t\t{ \n\t\t\tint ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo\n\t\t\t{ \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic long nextLong() throws IOException \n\t\t{ \n\t\t\tlong ret = 0; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tpublic double nextDouble() throws IOException \n\t\t{ \n\t\t\tdouble ret = 0, div = 1; \n\t\t\tbyte c = read(); \n\t\t\twhile (c <= ' ') \n\t\t\t\tc = read(); \n\t\t\tboolean neg = (c == '-'); \n\t\t\tif (neg) \n\t\t\t\tc = read(); \n \n\t\t\tdo { \n\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t} \n\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n \n\t\t\tif (c == '.') \n\t\t\t{ \n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t{ \n\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t} \n\t\t\t} \n \n\t\t\tif (neg) \n\t\t\t\treturn -ret; \n\t\t\treturn ret; \n\t\t} \n \n\t\tprivate void fillBuffer() throws IOException \n\t\t{ \n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\tif (bytesRead == -1) \n\t\t\t\tbuffer[0] = -1; \n\t\t} \n \n\t\tprivate byte read() throws IOException \n\t\t{ \n\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\tfillBuffer(); \n\t\t\treturn buffer[bufferPointer++]; \n\t\t} \n \n\t\tpublic void close() throws IOException \n\t\t{ \n\t\t\tif (din == null) \n\t\t\t\treturn; \n\t\t\tdin.close(); \n\t\t} \n\t} \n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.*;
public class Main{
public static PrintWriter out = new PrintWriter (new BufferedOutputStream(System.out));
public static void main(String sp[])throws IOException{
Scanner sc = new Scanner(System.in);
//FastReader sc = new FastReader();
String s1 = sc.next();
String s2 = sc.next();
int c =0;
for(int i=0;i<s1.length();i++){
if(s1.charAt(i)!=s2.charAt(i))
c++;
}
System.out.println(c);
}
public static ArrayList<Integer> primefactor(int n){
int sqrt = (int)Math.sqrt(n);
ArrayList<Integer> al = new ArrayList<>();
while(n%2==0){
al.add(2);
n/=2;
}
for(int i=3;i<=sqrt;i+=2){
while(n%i==0){
al.add(i);
n/=i;
}
}
if(n>2)
al.add(n);
return al;
}
public static long sum(long val){
long fg =0 ;
while(val!=0){
fg+=val%10;
val/=10;
}
return fg;
}
public static ArrayList<Integer> factor(int n){
int sqrt = (int)Math.sqrt(n);
ArrayList<Integer> al = new ArrayList<>();
for(int i=1;i<=sqrt;i++){
if(n%i!=0)
continue;
int first = i;
int second = n/i;
al.add(i);
if(first==second){
continue;
}
al.add(n/i);
}
return al;
}
public static int power(int x, int y)
{
int temp;
if( y == 0)
return 1;
temp = power(x, y/2);
if (y%2 == 0)
return temp*temp;
else
return x*temp*temp;
}
public static ArrayList<Integer> comp(){
ArrayList<Integer> al = new ArrayList<>();
int n = (int)2e5;
boolean arr[] = new boolean[n+1];
int sqrt = (int)Math.sqrt(n);
for(int i=2;i<=sqrt;i++){
if(arr[i]==false){
for(int j=i*i;j<=n;j+=i){
arr[j]=true;
}
}
}
for(int i=2;i<=n;i++){
if(arr[i]==false)
al.add(i);
}
return al;
}
public static class pair{
int x;
int y;
pair(int x, int y){
this.x=x;
this.y=y;
}
}
public static class comp implements Comparator<pair>{
public int compare(pair o1, pair o2){
if(o1.y==o2.y){
return o2.x-o1.x;
}
return o2.y-o1.y;
}
}
static class Node{
int node;
int d;
ArrayList<Integer> al = new ArrayList<>();
}
static long gcd(long a, long b)
{
if (b == 0)
return a;
return gcd(b, a % b);
}
static class FastReader
{
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public FastReader()
{
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public FastReader(String file_name) throws IOException
{
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException
{
byte[] buf = new byte[64]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
]
]
| [
"import java.util.*;\n \nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n \n String[] Sar = S.split(\"\");\n String[] Tar = T.split(\"\");\n \n int c = 0;\n for(int i = 0; i < S.length(); i++){\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }\n System.out.print(c);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n \n String[] Sar = S.split(\"\");\n String[] Tar = T.split(\"\");\n \n int c = 0;\n for(int i = 0; i < S.length(); i++){\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }\n System.out.print(c);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n \n String[] Sar = S.split(\"\");\n String[] Tar = T.split(\"\");\n \n int c = 0;\n for(int i = 0; i < S.length(); i++){\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }\n System.out.print(c);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n \n String[] Sar = S.split(\"\");\n String[] Tar = T.split(\"\");\n \n int c = 0;\n for(int i = 0; i < S.length(); i++){\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }\n System.out.print(c);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String T = sc.nextLine();",
"T",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] Sar = S.split(\"\");",
"Sar",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] Tar = T.split(\"\");",
"Tar",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int c = 0;",
"c",
"0",
"for(int i = 0; i < S.length(); i++){\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }",
"{\n if(!Sar[i].equals(Tar[i])){\n c++;\n }\n }",
"if(!Sar[i].equals(Tar[i])){\n c++;\n }",
"!Sar[i].equals(Tar[i])",
"Sar[i].equals(Tar[i])",
"Sar[i].equals",
"Sar[i]",
"Sar",
"i",
"Tar[i]",
"Tar",
"i",
"{\n c++;\n }",
"c++",
"c",
"System.out.print(c)",
"System.out.print",
"System.out",
"System",
"System.out",
"c",
"String args[]",
"args"
]
| import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String S = sc.nextLine();
String T = sc.nextLine();
String[] Sar = S.split("");
String[] Tar = T.split("");
int c = 0;
for(int i = 0; i < S.length(); i++){
if(!Sar[i].equals(Tar[i])){
c++;
}
}
System.out.print(c);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\npublic final class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public final class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int count=0;",
"count",
"0",
"for(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}",
"!(a.charAt(i)==b.charAt(i))",
"(a.charAt(i)==b.charAt(i))",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public final class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n\n}",
"public final class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count=0;\n\t\t\n\t\tfor(int i =0;i<a.length();i++) {\n\t\t\tif(!(a.charAt(i)==b.charAt(i))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public final class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int count=0;
for(int i =0;i<a.length();i++) {
if(!(a.charAt(i)==b.charAt(i))) {
count++;
}
}
System.out.println(count);
}
}
|
[
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,
11,
1,
41,
13,
2,
40,
17,
4,
18,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
35,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
25,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\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\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str1 = scan.next();",
"str1",
"scan.next()",
"scan.next",
"scan",
"String str2 = scan.next();",
"str2",
"scan.next()",
"scan.next",
"scan",
"int cnt = 0;",
"cnt",
"0",
"for(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}",
"int i = -1+str1.length();",
"int i = -1+str1.length();",
"i",
"-1+str1.length()",
"-1",
"1",
"str1.length()",
"str1.length",
"str1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}",
"if(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}",
"str1.charAt(i) != str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n\t\t\t\tcnt += 1;\n\t\t\t}",
"cnt += 1",
"cnt",
"1",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.next();\n\t\tString str2 = scan.next();\n\t\tint cnt = 0;\n\n\t\tfor(int i = -1+str1.length();i>=0;i--) {\n\t\t\tif(str1.charAt(i) != str2.charAt(i)) {\n\t\t\t\tcnt += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str1 = scan.next();
String str2 = scan.next();
int cnt = 0;
for(int i = -1+str1.length();i>=0;i--) {
if(str1.charAt(i) != str2.charAt(i)) {
cnt += 1;
}
}
System.out.println(cnt);
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
4,
18,
13,
30,
29,
2,
4,
18,
13,
13,
14,
2,
13,
4,
18,
13,
30,
29,
2,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
29,
4,
13,
13,
13,
2,
13,
17,
2,
13,
17,
41,
13,
2,
4,
13,
13,
13,
2,
13,
17,
2,
13,
17,
17,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
9,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
59,
70
],
[
8,
71
],
[
71,
72
],
[
6,
73
],
[
73,
74
],
[
6,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
6,
79
],
[
79,
80
],
[
108,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
89,
94
],
[
94,
95
],
[
95,
96
],
[
89,
97
],
[
89,
98
],
[
83,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
81,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static int distance(String s1, String s2, int i, int j) {\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static int distance(String s1, String s2, int i, int j) {\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }\n\n}",
"Main",
"public static int distance(String s1, String s2, int i, int j) {\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }",
"distance",
"{\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }",
"if (j == s2.length()) {\n return s1.length() - i;\n }",
"j == s2.length()",
"j",
"s2.length()",
"s2.length",
"s2",
"{\n return s1.length() - i;\n }",
"return s1.length() - i;",
"s1.length() - i",
"s1.length()",
"s1.length",
"s1",
"i",
"if (i == s1.length()) {\n return s2.length() - j;\n }",
"i == s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"{\n return s2.length() - j;\n }",
"return s2.length() - j;",
"s2.length() - j",
"s2.length()",
"s2.length",
"s2",
"j",
"if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }",
"s1.charAt(i) == s2.charAt(j)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(j)",
"s2.charAt",
"s2",
"j",
"{\n return distance(s1, s2, i + 1, j + 1);\n }",
"return distance(s1, s2, i + 1, j + 1);",
"distance(s1, s2, i + 1, j + 1)",
"distance",
"s1",
"s2",
"i + 1",
"i",
"1",
"j + 1",
"j",
"1",
"int rep = distance(s1, s2, i + 1, j + 1) + 1;",
"rep",
"distance(s1, s2, i + 1, j + 1) + 1",
"distance(s1, s2, i + 1, j + 1)",
"distance",
"s1",
"s2",
"i + 1",
"i",
"1",
"j + 1",
"j",
"1",
"1",
"return rep;",
"rep",
"String s1",
"s1",
"String s2",
"s2",
"int i",
"i",
"int j",
"j",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int dist = distance(in.next(), in.next(), 0, 0);",
"dist",
"distance(in.next(), in.next(), 0, 0)",
"distance",
"in.next()",
"in.next",
"in",
"in.next()",
"in.next",
"in",
"0",
"0",
"System.out.println(dist)",
"System.out.println",
"System.out",
"System",
"System.out",
"dist",
"String[] args",
"args",
"public class Main {\n public static int distance(String s1, String s2, int i, int j) {\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }\n\n}",
"public class Main {\n public static int distance(String s1, String s2, int i, int j) {\n if (j == s2.length()) {\n return s1.length() - i;\n }\n if (i == s1.length()) {\n return s2.length() - j;\n }\n if (s1.charAt(i) == s2.charAt(j)) {\n return distance(s1, s2, i + 1, j + 1);\n }\n int rep = distance(s1, s2, i + 1, j + 1) + 1;\n return rep;\n }\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int dist = distance(in.next(), in.next(), 0, 0);\n System.out.println(dist);\n\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static int distance(String s1, String s2, int i, int j) {
if (j == s2.length()) {
return s1.length() - i;
}
if (i == s1.length()) {
return s2.length() - j;
}
if (s1.charAt(i) == s2.charAt(j)) {
return distance(s1, s2, i + 1, j + 1);
}
int rep = distance(s1, s2, i + 1, j + 1) + 1;
return rep;
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int dist = distance(in.next(), in.next(), 0, 0);
System.out.println(dist);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"final String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int diff = 0;",
"diff",
"0",
"for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }",
"{\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }",
"if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n diff++;\n }",
"diff++",
"diff",
"System.out.println(diff)",
"System.out.println",
"System.out",
"System",
"System.out",
"diff",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final String S = sc.next();\n final String T = sc.next();\n \n int diff = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n diff++;\n }\n }\n \n System.out.println(diff);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final String S = sc.next();
final String T = sc.next();
int diff = 0;
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) != T.charAt(i)) {
diff++;
}
}
System.out.println(diff);
}
}
|
[
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,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
611,
20
],
[
611,
21
],
[
21,
22
],
[
611,
23
],
[
23,
24
],
[
23,
25
],
[
611,
26
],
[
26,
27
],
[
26,
28
],
[
611,
29
],
[
29,
30
],
[
29,
31
],
[
611,
32
],
[
32,
33
],
[
32,
34
],
[
611,
35
],
[
35,
36
],
[
611,
37
],
[
37,
38
],
[
611,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
52,
53
],
[
52,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
41,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
611,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
97,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
96,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
91,
120
],
[
120,
121
],
[
120,
122
],
[
91,
123
],
[
123,
124
],
[
123,
125
],
[
91,
126
],
[
126,
127
],
[
611,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
128,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
136,
140
],
[
140,
141
],
[
140,
142
],
[
136,
144
],
[
144,
145
],
[
136,
146
],
[
146,
147
],
[
136,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
148,
156
],
[
156,
157
],
[
136,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
161,
166
],
[
166,
167
],
[
160,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
176,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
185,
188
],
[
172,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
160,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
136,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
208,
206
],
[
218,
207
],
[
215,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
212,
214
],
[
215,
215
],
[
215,
216
],
[
215,
217
],
[
218,
218
],
[
218,
219
],
[
218,
220
],
[
208,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
201,
225
],
[
225,
226
],
[
136,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
232,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
232,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
227,
243
],
[
243,
244
],
[
136,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
249,
252
],
[
252,
253
],
[
136,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
261,
266
],
[
266,
267
],
[
266,
268
],
[
261,
269
],
[
269,
270
],
[
270,
271
],
[
261,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
256,
279
],
[
279,
280
],
[
254,
281
],
[
281,
282
],
[
136,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
296,
297
],
[
296,
298
],
[
291,
299
],
[
299,
300
],
[
300,
301
],
[
291,
302
],
[
303,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
308,
309
],
[
308,
310
],
[
285,
311
],
[
311,
312
],
[
283,
313
],
[
313,
314
],
[
283,
315
],
[
315,
316
],
[
136,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
321,
324
],
[
324,
325
],
[
136,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
333,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
342,
343
],
[
333,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
345,
349
],
[
349,
350
],
[
328,
351
],
[
351,
352
],
[
326,
353
],
[
353,
354
],
[
136,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
363,
368
],
[
368,
369
],
[
368,
370
],
[
363,
371
],
[
371,
372
],
[
372,
373
],
[
363,
374
],
[
375,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
376,
380
],
[
380,
381
],
[
380,
382
],
[
357,
383
],
[
383,
384
],
[
355,
385
],
[
385,
386
],
[
355,
387
],
[
387,
388
],
[
136,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
396,
397
],
[
136,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
400,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
405,
410
],
[
410,
411
],
[
410,
412
],
[
405,
413
],
[
413,
414
],
[
414,
415
],
[
405,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
417,
421
],
[
421,
422
],
[
400,
423
],
[
423,
424
],
[
398,
425
],
[
425,
426
],
[
136,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
429,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
435,
440
],
[
440,
441
],
[
440,
442
],
[
435,
443
],
[
443,
444
],
[
444,
445
],
[
435,
446
],
[
447,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
448,
452
],
[
452,
453
],
[
452,
454
],
[
429,
455
],
[
455,
456
],
[
427,
457
],
[
457,
458
],
[
427,
459
],
[
459,
460
],
[
136,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
463,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
468,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
463,
476
],
[
476,
477
],
[
476,
478
],
[
463,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
479,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
485,
488
],
[
484,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
463,
493
],
[
493,
494
],
[
494,
495
],
[
495,
496
],
[
136,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
499,
504
],
[
504,
505
],
[
505,
506
],
[
506,
507
],
[
506,
508
],
[
504,
509
],
[
509,
510
],
[
509,
511
],
[
504,
512
],
[
512,
513
],
[
513,
514
],
[
504,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
516,
520
],
[
520,
521
],
[
499,
522
],
[
522,
523
],
[
497,
524
],
[
524,
525
],
[
136,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
531,
532
],
[
528,
533
],
[
533,
534
],
[
534,
535
],
[
534,
536
],
[
533,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
528,
541
],
[
541,
542
],
[
541,
543
],
[
528,
544
],
[
544,
545
],
[
545,
546
],
[
546,
547
],
[
546,
548
],
[
544,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
550,
553
],
[
549,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
528,
558
],
[
558,
559
],
[
559,
560
],
[
560,
561
],
[
136,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
564,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
570,
575
],
[
575,
576
],
[
575,
577
],
[
570,
578
],
[
578,
579
],
[
579,
580
],
[
570,
581
],
[
582,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
583,
588
],
[
588,
589
],
[
588,
590
],
[
583,
591
],
[
591,
592
],
[
592,
593
],
[
583,
594
],
[
595,
595
],
[
595,
596
],
[
596,
597
],
[
597,
598
],
[
598,
599
],
[
598,
600
],
[
597,
601
],
[
596,
602
],
[
602,
603
],
[
564,
604
],
[
604,
605
],
[
562,
606
],
[
606,
607
],
[
562,
608
],
[
608,
609
],
[
0,
610
],
[
610,
611
],
[
610,
612
]
]
| [
"import java.io.PrintWriter;\nimport java.io.FileNotFoundException;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\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/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\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.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.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/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\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/F1\";",
"__DEBUG_FILE_NAME__",
"\"src/F1\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\n }",
"solve",
"{\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\n }",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"String t = in.next();",
"t",
"in.next()",
"in.next",
"in",
"int res = 0;",
"res",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }",
"{\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }",
"if (s.charAt(i) != t.charAt(i)) {\n res++;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n res++;\n }",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"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/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\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/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n String t = in.next();\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res++;\n }\n }\n System.out.println(res);\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.PrintWriter;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
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/F1";
FastScanner in;
PrintWriter out;
public void solve() {
String s = in.next();
String t = in.next();
int res = 0;
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != t.charAt(i)) {
res++;
}
}
System.out.println(res);
}
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,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
2,
13,
17,
13,
4,
18,
13,
2,
13,
17,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String s = scanner.nextLine();",
"s",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String t = scanner.nextLine();",
"t",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"int counter = 0;",
"counter",
"0",
"for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<=s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }",
"{\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }",
"if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }",
"!s.substring(i-1,i).equals(t.substring(i-1,i))",
"s.substring(i-1,i).equals(t.substring(i-1,i))",
"s.substring(i-1,i).equals",
"s.substring(i-1,i)",
"s.substring",
"s",
"i-1",
"i",
"1",
"i",
"t.substring(i-1,i)",
"t.substring",
"t",
"i-1",
"i",
"1",
"i",
"{\n counter++;\n }",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int counter = 0;\n \n for(int i = 1;i<=s.length();i++)\n {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i)))\n {\n counter++;\n }\n }\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
String s = scanner.nextLine();
String t = scanner.nextLine();
int counter = 0;
for(int i = 1;i<=s.length();i++)
{
if(!s.substring(i-1,i).equals(t.substring(i-1,i)))
{
counter++;
}
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.nextLine();",
"S",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String T = scan.nextLine();",
"T",
"scan.nextLine()",
"scan.nextLine",
"scan",
"int len = S.length();",
"len",
"S.length()",
"S.length",
"S",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }",
"{\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }",
"char charS = S.charAt(i);",
"charS",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"char charT = T.charAt(i);",
"charT",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(charS != charT){\n ans++;\n }",
"charS != charT",
"charS",
"charT",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n\n String S = scan.nextLine();\n String T = scan.nextLine();\n\n int len = S.length();\n int ans = 0;\n\n for(int i = 0; i < len; i++){\n char charS = S.charAt(i);\n char charT = T.charAt(i);\n if(charS != charT){\n ans++;\n }\n }\n System.out.println(ans);\n scan.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String S = scan.nextLine();
String T = scan.nextLine();
int len = S.length();
int ans = 0;
for(int i = 0; i < len; i++){
char charS = S.charAt(i);
char charT = T.charAt(i);
if(charS != charT){
ans++;
}
}
System.out.println(ans);
scan.close();
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
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,
0,
13,
20,
29,
4,
18,
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
],
[
150,
17
],
[
150,
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
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
20,
72
],
[
72,
73
],
[
73,
74
],
[
20,
75
],
[
75,
76
],
[
76,
77
],
[
18,
78
],
[
78,
79
],
[
150,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
80,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
80,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
95,
104
],
[
104,
105
],
[
104,
106
],
[
94,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
80,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
80,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
127,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
122,
145
],
[
145,
146
],
[
120,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }",
"main",
"{\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }",
"Scanner sc = new Scanner();",
"sc",
"new Scanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"char[] s = sc.next().toCharArray()",
"s",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"t = sc.next().toCharArray();",
"t",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"if (s[i] != t[i]) ans++;",
"if (s[i] != t[i]) ans++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }",
"Scanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\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() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) st = 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",
"int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }",
"nextIntArray",
"{\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }",
"int[] ans = new int[n];",
"ans",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n ans[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ans[i] = nextInt();",
"ans[i] = nextInt()",
"ans[i]",
"ans",
"i",
"nextInt()",
"nextInt",
"return ans;",
"ans",
"int n",
"n",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();\n int ans = 0;\n for (int i = 0; i < s.length; i++)\n if (s[i] != t[i]) ans++;\n out.println(ans);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\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 {
Scanner sc = new Scanner();
PrintWriter out = new PrintWriter(System.out);
char[] s = sc.next().toCharArray(), t = sc.next().toCharArray();
int ans = 0;
for (int i = 0; i < s.length; i++)
if (s[i] != t[i]) ans++;
out.println(ans);
out.flush();
out.close();
}
static class Scanner {
BufferedReader br;
StringTokenizer st;
Scanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() throws IOException {
while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());
return st.nextToken();
}
int nextInt() throws IOException {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) throws IOException {
int[] ans = new int[n];
for (int i = 0; i < n; i++)
ans[i] = nextInt();
return ans;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
2,
13,
17,
41,
13,
4,
18,
13,
13,
2,
13,
17,
14,
40,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
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
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
42,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int swap = 0;",
"swap",
"0",
"int length = S.length();",
"length",
"S.length()",
"S.length",
"S",
"for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<length",
"i",
"length",
"i++",
"i++",
"i",
"{\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }",
"{\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }",
"String s = S.substring(i,i+1);",
"s",
"S.substring(i,i+1)",
"S.substring",
"S",
"i",
"i+1",
"i",
"1",
"String t = T.substring(i,i+1);",
"t",
"T.substring(i,i+1)",
"T.substring",
"T",
"i",
"i+1",
"i",
"1",
"if(!s.equals(t)){\n swap++;\n }",
"!s.equals(t)",
"s.equals(t)",
"s.equals",
"s",
"t",
"{\n swap++;\n }",
"swap++",
"swap",
"System.out.println(swap)",
"System.out.println",
"System.out",
"System",
"System.out",
"swap",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }\n}",
"public class Main {\n public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.next();\t\t\n String T = sc.next();\n int swap = 0;\n \n int length = S.length();\n for(int i=0;i<length;i++){\n \tString s = S.substring(i,i+1);\n String t = T.substring(i,i+1);\n \n if(!s.equals(t)){\n swap++;\n } \n }\n\t System.out.println(swap);\n\t\t\n\t\t\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int swap = 0;
int length = S.length();
for(int i=0;i<length;i++){
String s = S.substring(i,i+1);
String t = T.substring(i,i+1);
if(!s.equals(t)){
swap++;
}
}
System.out.println(swap);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
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
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}\n\n//\t public static int[] shuffle(int[] nums, int n) {\n//\n//\n//\t \tint[] xAray = new int[nums.length];\n//\t \tint[] yAray = new int[nums.length];\n//\t \tint[] xyAray = new int[nums.length];\n//\n//\t \tfor(int i = 0;i<n;i++) {\n//\n//\t \t\txAray[i] = nums[i];\n//\n//\t \t}\n//\n//\t \tfor(int i = n;i<nums.length;i++) {\n//\t \t\tyAray[i] = nums[i];\n//\t \t}\n//\n//\t \tfor(int i = 0; i<n;i++) {\n//\t \t\tif(i == 0) {\n//\t \t\t\txyAray[i]=xAray[i];\n//\t \t\t}if(i %2 == 0 ) {\n//\t \t\t\txyAray[i] = xAray[i];\n//\t \t\t}else if(i % 2 != 0){\n//\t \t\t\txyAray[i] = yAray[i+n];\n//\t \t\t}\n//\t \t}\n//\n//\t \treturn xyAray;\n//\n//\n//\t }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}\n\n//\t public static int[] shuffle(int[] nums, int n) {\n//\n//\n//\t \tint[] xAray = new int[nums.length];\n//\t \tint[] yAray = new int[nums.length];\n//\t \tint[] xyAray = new int[nums.length];\n//\n//\t \tfor(int i = 0;i<n;i++) {\n//\n//\t \t\txAray[i] = nums[i];\n//\n//\t \t}\n//\n//\t \tfor(int i = n;i<nums.length;i++) {\n//\t \t\tyAray[i] = nums[i];\n//\t \t}\n//\n//\t \tfor(int i = 0; i<n;i++) {\n//\t \t\tif(i == 0) {\n//\t \t\t\txyAray[i]=xAray[i];\n//\t \t\t}if(i %2 == 0 ) {\n//\t \t\t\txyAray[i] = xAray[i];\n//\t \t\t}else if(i % 2 != 0){\n//\t \t\t\txyAray[i] = yAray[i+n];\n//\t \t\t}\n//\t \t}\n//\n//\t \treturn xyAray;\n//\n//\n//\t }\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}",
"main",
"{\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"char[] Schar = new char[S.length()];",
"Schar",
"new char[S.length()]",
"S.length()",
"S.length",
"S",
"char[] Tchar = new char[T.length()];",
"Tchar",
"new char[T.length()]",
"T.length()",
"T.length",
"T",
"for(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i < Schar.length",
"i",
"Schar.length",
"Schar",
"Schar.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}",
"{\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}",
"Schar[i] = S.charAt(i)",
"Schar[i]",
"Schar",
"i",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"Tchar[i] = T.charAt(i)",
"Tchar[i]",
"Tchar",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Schar.length",
"i",
"Schar.length",
"Schar",
"Schar.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"if(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"Schar[i]!=Tchar[i]",
"Schar[i]",
"Schar",
"i",
"Tchar[i]",
"Tchar",
"i",
"{\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"Tchar[i] = Schar[i]",
"Tchar[i]",
"Tchar",
"i",
"Schar[i]",
"Schar",
"i",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}\n\n//\t public static int[] shuffle(int[] nums, int n) {\n//\n//\n//\t \tint[] xAray = new int[nums.length];\n//\t \tint[] yAray = new int[nums.length];\n//\t \tint[] xyAray = new int[nums.length];\n//\n//\t \tfor(int i = 0;i<n;i++) {\n//\n//\t \t\txAray[i] = nums[i];\n//\n//\t \t}\n//\n//\t \tfor(int i = n;i<nums.length;i++) {\n//\t \t\tyAray[i] = nums[i];\n//\t \t}\n//\n//\t \tfor(int i = 0; i<n;i++) {\n//\t \t\tif(i == 0) {\n//\t \t\t\txyAray[i]=xAray[i];\n//\t \t\t}if(i %2 == 0 ) {\n//\t \t\t\txyAray[i] = xAray[i];\n//\t \t\t}else if(i % 2 != 0){\n//\t \t\t\txyAray[i] = yAray[i+n];\n//\t \t\t}\n//\t \t}\n//\n//\t \treturn xyAray;\n//\n//\n//\t }\n}",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tString S = sc.next();\n\t\t\tString T = sc.next();\n\n\t\t\tchar[] Schar = new char[S.length()];\n\t\t\tchar[] Tchar = new char[T.length()];\n\n\t\t\tfor(int i =0; i < Schar.length; i++) {\n\t\t\t\tSchar[i] = S.charAt(i);\n\t\t\t\tTchar[i] = T.charAt(i);\n\t\t\t}\n\t\t\tint count = 0;\n\n\t\t\tfor(int i = 0; i < Schar.length; i++) {\n\t\t\t\tif(Schar[i]!=Tchar[i] ){\n\t\t\t\t\tTchar[i] = Schar[i];\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(count);\n\n\t\t}\n\n//\t public static int[] shuffle(int[] nums, int n) {\n//\n//\n//\t \tint[] xAray = new int[nums.length];\n//\t \tint[] yAray = new int[nums.length];\n//\t \tint[] xyAray = new int[nums.length];\n//\n//\t \tfor(int i = 0;i<n;i++) {\n//\n//\t \t\txAray[i] = nums[i];\n//\n//\t \t}\n//\n//\t \tfor(int i = n;i<nums.length;i++) {\n//\t \t\tyAray[i] = nums[i];\n//\t \t}\n//\n//\t \tfor(int i = 0; i<n;i++) {\n//\t \t\tif(i == 0) {\n//\t \t\t\txyAray[i]=xAray[i];\n//\t \t\t}if(i %2 == 0 ) {\n//\t \t\t\txyAray[i] = xAray[i];\n//\t \t\t}else if(i % 2 != 0){\n//\t \t\t\txyAray[i] = yAray[i+n];\n//\t \t\t}\n//\t \t}\n//\n//\t \treturn xyAray;\n//\n//\n//\t }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
char[] Schar = new char[S.length()];
char[] Tchar = new char[T.length()];
for(int i =0; i < Schar.length; i++) {
Schar[i] = S.charAt(i);
Tchar[i] = T.charAt(i);
}
int count = 0;
for(int i = 0; i < Schar.length; i++) {
if(Schar[i]!=Tchar[i] ){
Tchar[i] = Schar[i];
count++;
}
}
System.out.print(count);
}
// public static int[] shuffle(int[] nums, int n) {
//
//
// int[] xAray = new int[nums.length];
// int[] yAray = new int[nums.length];
// int[] xyAray = new int[nums.length];
//
// for(int i = 0;i<n;i++) {
//
// xAray[i] = nums[i];
//
// }
//
// for(int i = n;i<nums.length;i++) {
// yAray[i] = nums[i];
// }
//
// for(int i = 0; i<n;i++) {
// if(i == 0) {
// xyAray[i]=xAray[i];
// }if(i %2 == 0 ) {
// xyAray[i] = xAray[i];
// }else if(i % 2 != 0){
// xyAray[i] = yAray[i+n];
// }
// }
//
// return xyAray;
//
//
// }
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
9,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
42,
54
],
[
54,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int c=0;",
"c",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}",
"if(s.charAt(i) == t.charAt(i)) continue;",
"s.charAt(i) == t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"continue;",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tint c=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == t.charAt(i)) continue;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\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);
String s = sc.next();
String t = sc.next();
sc.close();
int c=0;
for (int i = 0; i < s.length(); i++) {
if(s.charAt(i) == t.charAt(i)) continue;
c++;
}
System.out.println(c);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s=scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"String t=scan.next();",
"t",
"scan.next()",
"scan.next",
"scan",
"int kekka=0;",
"kekka",
"0",
"for(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}",
"if(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n\t\t\t\tkekka+=1;\n\t\t\t}",
"kekka+=1",
"kekka",
"1",
"System.out.println(kekka)",
"System.out.println",
"System.out",
"System",
"System.out",
"kekka",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan=new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\t\tint kekka=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i)){\n\t\t\t\tkekka+=1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kekka);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan=new Scanner(System.in);
String s=scan.next();
String t=scan.next();
int kekka=0;
for(int i=0;i<s.length();i++) {
if(s.charAt(i)!=t.charAt(i)){
kekka+=1;
}
}
System.out.println(kekka);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
2,
13,
17,
13,
4,
18,
13,
2,
13,
17,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }\n }",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String t = sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int count=0;",
"count",
"0",
"for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i <= s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }",
"{\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }",
"if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }",
"!s.substring(i-1,i).equals(t.substring(i-1,i))",
"s.substring(i-1,i).equals(t.substring(i-1,i))",
"s.substring(i-1,i).equals",
"s.substring(i-1,i)",
"s.substring",
"s",
"i-1",
"i",
"1",
"i",
"t.substring(i-1,i)",
"t.substring",
"t",
"i-1",
"i",
"1",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }\n }",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count=0;\n for (int i=1;i <= s.length(); i++) {\n if(!s.substring(i-1,i).equals(t.substring(i-1,i))){\n count++;\n }\n }\n \tSystem.out.println(count);\n }\n }",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String t = sc.nextLine();
int count=0;
for (int i=1;i <= s.length(); i++) {
if(!s.substring(i-1,i).equals(t.substring(i-1,i))){
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\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 String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String text1 = sc.nextLine();",
"text1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String text2 = sc.nextLine();",
"text2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int wordNum = text1.length();",
"wordNum",
"text1.length()",
"text1.length",
"text1",
"int diffCount=0;",
"diffCount",
"0",
"for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<wordNum",
"i",
"wordNum",
"i++",
"i++",
"i",
"{\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }",
"{\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }",
"if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }",
"text1.charAt(i) != text2.charAt(i)",
"text1.charAt(i)",
"text1.charAt",
"text1",
"i",
"text2.charAt(i)",
"text2.charAt",
"text2",
"i",
"{\n diffCount +=1;\n }",
"diffCount +=1",
"diffCount",
"1",
"System.out.println(diffCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"diffCount",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\n }\n}",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String text1 = sc.nextLine();\n String text2 = sc.nextLine();\n\n int wordNum = text1.length();\n int diffCount=0;\n\n for(int i=0;i<wordNum;i++){\n if(text1.charAt(i) != text2.charAt(i)){\n diffCount +=1;\n }\n }\n System.out.println(diffCount);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String text1 = sc.nextLine();
String text2 = sc.nextLine();
int wordNum = text1.length();
int diffCount=0;
for(int i=0;i<wordNum;i++){
if(text1.charAt(i) != text2.charAt(i)){
diffCount +=1;
}
}
System.out.println(diffCount);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String T = sc.nextLine();",
"T",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] Ss = S.split(\"\");",
"Ss",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] Ts = T.split(\"\");",
"Ts",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Ss.length",
"i",
"Ss.length",
"Ss",
"Ss.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}",
"!Ss[i].equals(Ts[i])",
"Ss[i].equals(Ts[i])",
"Ss[i].equals",
"Ss[i]",
"Ss",
"i",
"Ts[i]",
"Ts",
"i",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\n}",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tString[] Ss = S.split(\"\");\n\t\tString[] Ts = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i = 0; i < Ss.length; i++) {\n\t\t\tif(!Ss[i].equals(Ts[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.nextLine();
String T = sc.nextLine();
String[] Ss = S.split("");
String[] Ts = T.split("");
int count = 0;
for(int i = 0; i < Ss.length; i++) {
if(!Ss[i].equals(Ts[i])) {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
18,
13,
13,
18,
13,
13,
17,
17,
4,
18,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
467,
8
],
[
467,
9
],
[
9,
10
],
[
467,
11
],
[
11,
12
],
[
467,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
15,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
15,
30
],
[
30,
31
],
[
30,
32
],
[
15,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
50,
59
],
[
15,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
467,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
81,
82
],
[
66,
83
],
[
83,
84
],
[
84,
85
],
[
64,
86
],
[
86,
87
],
[
467,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
91,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
105,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
105,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
105,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
88,
132
],
[
132,
133
],
[
467,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
144,
146
],
[
137,
147
],
[
147,
148
],
[
148,
149
],
[
137,
150
],
[
151,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
151,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
163,
165
],
[
151,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
170,
172
],
[
151,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
134,
178
],
[
178,
179
],
[
467,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
180,
184
],
[
184,
185
],
[
180,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
186,
192
],
[
192,
193
],
[
180,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
194,
200
],
[
200,
201
],
[
180,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
205,
214
],
[
214,
215
],
[
214,
216
],
[
204,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
180,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
228,
236
],
[
236,
237
],
[
237,
238
],
[
228,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
223,
246
],
[
246,
247
],
[
221,
248
],
[
248,
249
],
[
180,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
257,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
252,
275
],
[
275,
276
],
[
250,
277
],
[
277,
278
],
[
180,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
286,
294
],
[
294,
295
],
[
295,
296
],
[
286,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
281,
304
],
[
304,
305
],
[
304,
306
],
[
281,
307
],
[
307,
308
],
[
308,
309
],
[
307,
310
],
[
281,
311
],
[
311,
312
],
[
279,
313
],
[
313,
314
],
[
180,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
317,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
327,
328
],
[
327,
329
],
[
322,
330
],
[
330,
331
],
[
331,
332
],
[
322,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
317,
340
],
[
340,
341
],
[
340,
342
],
[
317,
343
],
[
343,
344
],
[
344,
345
],
[
343,
346
],
[
317,
347
],
[
347,
348
],
[
315,
349
],
[
349,
350
],
[
180,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
358,
363
],
[
363,
364
],
[
363,
365
],
[
358,
366
],
[
366,
367
],
[
367,
368
],
[
358,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
374,
375
],
[
353,
376
],
[
376,
377
],
[
351,
378
],
[
378,
379
],
[
180,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
382,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
392,
394
],
[
387,
395
],
[
395,
396
],
[
396,
397
],
[
387,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
399,
403
],
[
403,
404
],
[
382,
405
],
[
405,
406
],
[
380,
407
],
[
407,
408
],
[
180,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
180,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
420,
423
],
[
423,
424
],
[
180,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
429,
432
],
[
432,
433
],
[
180,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
440,
441
],
[
438,
442
],
[
180,
443
],
[
443,
444
],
[
443,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
447,
450
],
[
450,
451
],
[
180,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
180,
459
],
[
459,
460
],
[
459,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
462,
465
],
[
0,
466
],
[
466,
467
],
[
466,
468
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n\tstatic void main() throws Exception{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static MScanner sc;",
"sc",
"static void main() throws Exception{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}",
"main",
"{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}",
"char[]s=sc.nextLine().toCharArray()",
"s",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"t=sc.nextLine().toCharArray();",
"t",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}",
"{\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}",
"ans+=s[i]!=t[i]?1:0",
"ans",
"s[i]!=t[i]?1:0",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"1",
"0",
"pw.println(ans)",
"pw.println",
"pw",
"ans",
"public static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"sc=new MScanner(System.in)",
"sc",
"new MScanner(System.in)",
"pw = new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"int tc=1;",
"tc",
"1",
"while(tc-->0)\n\t\t\tmain();",
"tc-->0",
"tc--",
"tc",
"0",
"main()",
"main",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"int tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"int[]in",
"in",
"static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"long tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"long[]in",
"in",
"static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"MScanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"intArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"longArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"intSortedArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"longSortedArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"IntegerArr",
"{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"Integer[]in=new Integer[n];",
"in",
"new Integer[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"LongArr",
"{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"Long[]in=new Long[n];",
"in",
"new Long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tchar[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();\n\t\tint ans=0;\n\t\tfor(int i=0;i<s.length;i++) {\n\t\t\tans+=s[i]!=t[i]?1:0;\n\t\t}\n\t\tpw.println(ans);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
static void main() throws Exception{
char[]s=sc.nextLine().toCharArray(),t=sc.nextLine().toCharArray();
int ans=0;
for(int i=0;i<s.length;i++) {
ans+=s[i]!=t[i]?1:0;
}
pw.println(ans);
}
public static void main(String[] args) throws Exception{
sc=new MScanner(System.in);
pw = new PrintWriter(System.out);
int tc=1;
// tc=sc.nextInt();
while(tc-->0)
main();
pw.flush();
}
static PrintWriter pw;
static MScanner sc;
static class MScanner {
StringTokenizer st;
BufferedReader br;
public MScanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public MScanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int[] intArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public long[] longArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public int[] intSortedArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
shuffle(in);
Arrays.sort(in);
return in;
}
public long[] longSortedArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
shuffle(in);
Arrays.sort(in);
return in;
}
public Integer[] IntegerArr(int n) throws IOException {
Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public Long[] LongArr(int n) throws IOException {
Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
static void shuffle(int[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
int tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
static void shuffle(long[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
long tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
51,
61
],
[
61,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }\n}",
"Main",
"public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"String s = st.nextToken();",
"s",
"st.nextToken()",
"st.nextToken",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"String t = st.nextToken();",
"t",
"st.nextToken()",
"st.nextToken",
"st",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"if(s.charAt(i) != t.charAt(i))\n count++;",
"if(s.charAt(i) != t.charAt(i))\n count++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count++",
"count",
"out.println(count)",
"out.println",
"out",
"count",
"out.close()",
"out.close",
"out",
"String[] main",
"main",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }\n}",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n String s = st.nextToken();\n st = new StringTokenizer(br.readLine());\n String t = st.nextToken();\n int count = 0;\n for(int i = 0; i < s.length(); i++)\n if(s.charAt(i) != t.charAt(i))\n count++;\n out.println(count);\n out.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] main) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
PrintWriter out = new PrintWriter(System.out);
String s = st.nextToken();
st = new StringTokenizer(br.readLine());
String t = st.nextToken();
int count = 0;
for(int i = 0; i < s.length(); i++)
if(s.charAt(i) != t.charAt(i))
count++;
out.println(count);
out.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\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 \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";",
"upperCases",
"\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"",
"String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";",
"lowerCases",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String oneChar = sc.next();",
"oneChar",
"sc.next()",
"sc.next",
"sc",
"if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }",
"upperCases.indexOf(oneChar) >= 0",
"upperCases.indexOf(oneChar)",
"upperCases.indexOf",
"upperCases",
"oneChar",
"0",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n String upperCases = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String lowerCases = \"abcdefghijklmnopqrstuvwxyz\";\n \n String oneChar = sc.next();\n if (upperCases.indexOf(oneChar) >= 0) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String upperCases = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
String lowerCases = "abcdefghijklmnopqrstuvwxyz";
String oneChar = sc.next();
if (upperCases.indexOf(oneChar) >= 0) {
System.out.println("A");
} else {
System.out.println("a");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
4,
18,
13,
13,
17,
17,
23,
13,
6,
13,
41,
13,
17,
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
],
[
133,
14
],
[
133,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
34,
40
],
[
15,
41
],
[
41,
42
],
[
133,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
43,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
69,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
58,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
43,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
43,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
43,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
43,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
113,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }\n\n static class FastScanner {\n BufferedReader br = null;\n StringTokenizer st;\n \n public FastScanner() {\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}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"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 FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }\n\n static class FastScanner {\n BufferedReader br = null;\n StringTokenizer st;\n \n public FastScanner() {\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}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"char c = fs.next().charAt(0);",
"c",
"fs.next().charAt(0)",
"fs.next().charAt",
"fs.next()",
"fs.next",
"fs",
"0",
"System.out.println(Character.isUpperCase(c) ? 'A' : 'a')",
"System.out.println",
"System.out",
"System",
"System.out",
"Character.isUpperCase(c) ? 'A' : 'a'",
"Character.isUpperCase(c)",
"Character.isUpperCase",
"Character",
"c",
"'A'",
"'a'",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = null;\n StringTokenizer st;\n \n public FastScanner() {\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 }",
"FastScanner",
"BufferedReader br = null;",
"br",
"null",
"StringTokenizer st;",
"st",
"public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String 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 FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }\n\n static class FastScanner {\n BufferedReader br = null;\n StringTokenizer st;\n \n public FastScanner() {\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}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n char c = fs.next().charAt(0);\n System.out.println(Character.isUpperCase(c) ? 'A' : 'a');\n }\n\n static class FastScanner {\n BufferedReader br = null;\n StringTokenizer st;\n \n public FastScanner() {\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}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
char c = fs.next().charAt(0);
System.out.println(Character.isUpperCase(c) ? 'A' : 'a');
}
static class FastScanner {
BufferedReader br = null;
StringTokenizer st;
public FastScanner() {
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,
6,
13,
12,
13,
30,
41,
13,
0,
13,
4,
18,
18,
13,
13,
14,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
9,
38
],
[
38,
39
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main\n{\n public static void main(String args[])throws IOException\n {\n char ch;\n ch=(char)System.in.read();\n if(Character.isUpperCase(ch))\n System.out.println(\"A\");\n else\n System.out.println(\"a\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String args[])throws IOException\n {\n char ch;\n ch=(char)System.in.read();\n if(Character.isUpperCase(ch))\n System.out.println(\"A\");\n else\n System.out.println(\"a\");\n }\n}",
"Main",
"public static void main(String args[])throws IOException\n {\n char ch;\n ch=(char)System.in.read();\n if(Character.isUpperCase(ch))\n System.out.println(\"A\");\n else\n System.out.println(\"a\");\n }",
"main",
"{\n char ch;\n ch=(char)System.in.read();\n if(Character.isUpperCase(ch))\n System.out.println(\"A\");\n else\n System.out.println(\"a\");\n }",
"char ch;",
"ch",
"ch=(char)System.in.read()",
"ch",
"(char)System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"if(Character.isUpperCase(ch))\n System.out.println(\"A\");\n else\n System.out.println(\"a\");",
"Character.isUpperCase(ch)",
"Character.isUpperCase",
"Character",
"ch",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String args[]",
"args"
]
| import java.util.*;
import java.io.*;
class Main
{
public static void main(String args[])throws IOException
{
char ch;
ch=(char)System.in.read();
if(Character.isUpperCase(ch))
System.out.println("A");
else
System.out.println("a");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
18,
13,
13,
17,
41,
13,
4,
18,
13,
14,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"System.out.print(\"\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"",
"String str = scanner.nextLine();",
"str",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }",
"Character.isUpperCase(str.charAt(0))",
"Character.isUpperCase",
"Character",
"str.charAt(0)",
"str.charAt",
"str",
"0",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println( \"a\" );\n }",
"System.out.println( \"a\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"\");\n String str = scanner.nextLine();\n\n if(Character.isUpperCase(str.charAt(0))){\n System.out.println(\"A\");\n }else{\n System.out.println( \"a\" );\n }\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
System.out.print("");
String str = scanner.nextLine();
if(Character.isUpperCase(str.charAt(0))){
System.out.println("A");
}else{
System.out.println( "a" );
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
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
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
24,
59
],
[
59,
60
]
]
| [
"import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.TreeMap;\nimport java.util.ArrayDeque;\nimport java.awt.Point;\n \nclass Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String A = a.toUpperCase();\n\n if(a.equals(A)){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.awt.Point;",
"Point",
"java.awt",
"class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String A = a.toUpperCase();\n\n if(a.equals(A)){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n } \n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String A = a.toUpperCase();\n\n if(a.equals(A)){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n String a = sc.next();\n String A = a.toUpperCase();\n\n if(a.equals(A)){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String A = a.toUpperCase();",
"A",
"a.toUpperCase()",
"a.toUpperCase",
"a",
"if(a.equals(A)){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }",
"a.equals(A)",
"a.equals",
"a",
"A",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args"
]
| import java.util.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.TreeMap;
import java.util.ArrayDeque;
import java.awt.Point;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a = sc.next();
String A = a.toUpperCase();
if(a.equals(A)){
System.out.println("A");
}
else{
System.out.println("a");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
49,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }",
"main",
"{\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }",
"final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"char alpha = br.readLine().charAt(0);",
"alpha",
"br.readLine().charAt(0)",
"br.readLine().charAt",
"br.readLine()",
"br.readLine",
"br",
"0",
"if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }",
"alpha > 96",
"alpha",
"96",
"{\n bw.write(\"a\\n\");\n }",
"bw.write(\"a\\n\")",
"bw.write",
"bw",
"\"a\\n\"",
"{\n bw.write(\"A\\n\");\n }",
"bw.write(\"A\\n\")",
"bw.write",
"bw",
"\"A\\n\"",
"bw.close()",
"bw.close",
"bw",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n char alpha = br.readLine().charAt(0);\n\n if (alpha > 96) {\n bw.write(\"a\\n\");\n } else {\n bw.write(\"A\\n\");\n }\n\n bw.close();\n br.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
char alpha = br.readLine().charAt(0);
if (alpha > 96) {
bw.write("a\n");
} else {
bw.write("A\n");
}
bw.close();
br.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
29,
8,
4,
18,
13,
4,
18,
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
],
[
49,
11
],
[
49,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
12,
31
],
[
31,
32
],
[
49,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
37,
44
],
[
37,
45
],
[
33,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }\n\n private static String problem171a(String a) {\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }\n\n private static String problem171a(String a) {\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String a = br.readLine();",
"a",
"br.readLine()",
"br.readLine",
"br",
"System.out.println(problem171a(a))",
"System.out.println",
"System.out",
"System",
"System.out",
"problem171a(a)",
"problem171a",
"a",
"String[] args",
"args",
"private static String problem171a(String a) {\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }",
"problem171a",
"{\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }",
"return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";",
"(a.equals(a.toLowerCase())) ? \"a\" : \"A\"",
"(a.equals(a.toLowerCase()))",
"a.equals",
"a",
"a.toLowerCase()",
"a.toLowerCase",
"a",
"\"a\"",
"\"A\"",
"String a",
"a",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }\n\n private static String problem171a(String a) {\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String a = br.readLine();\n System.out.println(problem171a(a));\n }\n\n private static String problem171a(String a) {\n return (a.equals(a.toLowerCase())) ? \"a\" : \"A\";\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String a = br.readLine();
System.out.println(problem171a(a));
}
private static String problem171a(String a) {
return (a.equals(a.toLowerCase())) ? "a" : "A";
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] var0) {\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] var0) {\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String[] var0) {\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String alpha = scanner.next();",
"alpha",
"scanner.next()",
"scanner.next",
"scanner",
"if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }",
"Character.isUpperCase(alpha.charAt(0))",
"Character.isUpperCase",
"Character",
"alpha.charAt(0)",
"alpha.charAt",
"alpha",
"0",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] var0",
"var0",
"public class Main {\n public static void main(String[] var0) {\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"public class Main {\n public static void main(String[] var0) {\n Scanner scanner = new Scanner(System.in);\n\n String alpha = scanner.next();\n\n if (Character.isUpperCase(alpha.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] var0) {
Scanner scanner = new Scanner(System.in);
String alpha = scanner.next();
if (Character.isUpperCase(alpha.charAt(0))) {
System.out.println("A");
} else {
System.out.println("a");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
59,
17
],
[
59,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
20,
53
],
[
53,
54
],
[
54,
55
],
[
18,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.TreeMap;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String alpha = sc.next();",
"alpha",
"sc.next()",
"sc.next",
"sc",
"String A=alpha.toUpperCase();",
"A",
"alpha.toUpperCase()",
"alpha.toUpperCase",
"alpha",
"if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }",
"A.equals(alpha)",
"A.equals",
"A",
"alpha",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"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 String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String alpha = sc.next();\n String A=alpha.toUpperCase();\n \n if (A.equals(alpha)) {\n System.out.println(\"A\");\n }else{\n System.out.println(\"a\");\n }\n sc.close();\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Scanner;
import java.util.TreeMap;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String alpha = sc.next();
String A=alpha.toUpperCase();
if (A.equals(alpha)) {
System.out.println("A");
}else{
System.out.println("a");
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }",
"S.toUpperCase() == S",
"S.toUpperCase()",
"S.toUpperCase",
"S",
"S",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }",
"S.toLowerCase() == S",
"S.toLowerCase()",
"S.toLowerCase",
"S",
"S",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if (S.toUpperCase() == S) {\n System.out.println(\"A\");\n } else if (S.toLowerCase() == S) {\n System.out.println(\"a\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.nextLine();
if (S.toUpperCase() == S) {
System.out.println("A");
} else if (S.toLowerCase() == S) {
System.out.println("a");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
13,
4,
18,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"String result = \"a\";",
"result",
"\"a\"",
"if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }",
"Character.isUpperCase(s1.charAt(0))",
"Character.isUpperCase",
"Character",
"s1.charAt(0)",
"s1.charAt",
"s1",
"0",
"{\n result = \"A\";\n }",
"result = \"A\"",
"result",
"\"A\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n final String s1 = sc.next();\n sc.close();\n String result = \"a\";\n if (Character.isUpperCase(s1.charAt(0))) {\n result = \"A\";\n }\n System.out.println(result);\n }\n}",
"Main"
]
|
import java.util.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
// 整数の入力
// final int a = sc.nextInt();
// 文字列の入力
// final String s1 = sc.next();
final String s1 = sc.next();
sc.close();
String result = "a";
if (Character.isUpperCase(s1.charAt(0))) {
result = "A";
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"char c=in.next().charAt(0);",
"c",
"in.next().charAt(0)",
"in.next().charAt",
"in.next()",
"in.next",
"in",
"0",
"if(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");",
"c>='A' && c<='Z'",
"c>='A'",
"c",
"'A'",
"c<='Z'",
"c",
"'Z'",
"System.out.print(\"A\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"A\"",
"System.out.print(\"a\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"a\"",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\tchar c=in.next().charAt(0);\n\t\tif(c>='A' && c<='Z')\tSystem.out.print(\"A\");\n\t\telse System.out.print(\"a\");\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String args[]){
Scanner in = new Scanner(System.in);
char c=in.next().charAt(0);
if(c>='A' && c<='Z') System.out.print("A");
else System.out.print("a");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"char c = s.next().charAt(0);",
"c",
"s.next().charAt(0)",
"s.next().charAt",
"s.next()",
"s.next",
"s",
"0",
"if(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');",
"c>=65 && c<=90",
"c>=65",
"c",
"65",
"c<=90",
"c",
"90",
"{\n\t\t\tSystem.out.println(\"A\");\n\t\t}",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"System.out.println('a')",
"System.out.println",
"System.out",
"System",
"System.out",
"'a'",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tchar c = s.next().charAt(0);\n\t\t\n\t\tif(c>=65 && c<=90) {\n\t\t\tSystem.out.println(\"A\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println('a');\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
char c = s.next().charAt(0);
if(c>=65 && c<=90) {
System.out.println("A");
}
else
System.out.println('a');
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
]
]
| [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\t String str1 = sc.next(); \n\t\t\tString moji = str1.toUpperCase();\n \tif(str1 == moji){\n \tSystem.out.println(\"A\");\n }else{\n \tSystem.out.println(\"a\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\t String str1 = sc.next(); \n\t\t\tString moji = str1.toUpperCase();\n \tif(str1 == moji){\n \tSystem.out.println(\"A\");\n }else{\n \tSystem.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\t String str1 = sc.next(); \n\t\t\tString moji = str1.toUpperCase();\n \tif(str1 == moji){\n \tSystem.out.println(\"A\");\n }else{\n \tSystem.out.println(\"a\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\t String str1 = sc.next(); \n\t\t\tString moji = str1.toUpperCase();\n \tif(str1 == moji){\n \tSystem.out.println(\"A\");\n }else{\n \tSystem.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1 = sc.next();",
"str1",
"sc.next()",
"sc.next",
"sc",
"String moji = str1.toUpperCase();",
"moji",
"str1.toUpperCase()",
"str1.toUpperCase",
"str1",
"if(str1 == moji){\n \tSystem.out.println(\"A\");\n }else{\n \tSystem.out.println(\"a\");\n }",
"str1 == moji",
"str1",
"moji",
"{\n \tSystem.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n \tSystem.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String args[]",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String str1 = sc.next();
String moji = str1.toUpperCase();
if(str1 == moji){
System.out.println("A");
}else{
System.out.println("a");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }",
"str.matches(\"[A-Z]\")",
"str.matches",
"str",
"\"[A-Z]\"",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\"[A-Z]\")){\n System.out.println(\"A\");\n }\n else{\n System.out.println(\"a\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str = sc.next();
if(str.matches("[A-Z]")){
System.out.println("A");
}
else{
System.out.println("a");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\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 String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"char s = a.charAt(0);",
"s",
"a.charAt(0)",
"a.charAt",
"a",
"0",
"if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }",
"Character.isUpperCase(s)",
"Character.isUpperCase",
"Character",
"s",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n char s = a.charAt(0);\n if(Character.isUpperCase(s)) {\n System.out.println(\"A\");\n }else {\n System.out.println(\"a\");\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String a = sc.next();
char s = a.charAt(0);
if(Character.isUpperCase(s)) {
System.out.println("A");
}else {
System.out.println("a");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
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,
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
],
[
431,
14
],
[
431,
15
],
[
15,
16
],
[
15,
17
],
[
431,
18
],
[
18,
19
],
[
18,
20
],
[
431,
21
],
[
21,
22
],
[
431,
23
],
[
23,
24
],
[
431,
25
],
[
25,
26
],
[
431,
27
],
[
27,
28
],
[
431,
29
],
[
29,
30
],
[
431,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
33,
57
],
[
57,
58
],
[
58,
59
],
[
31,
60
],
[
60,
61
],
[
431,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
62,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
76,
78
],
[
62,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
93,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
89,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
81,
114
],
[
114,
115
],
[
62,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
119,
127
],
[
127,
128
],
[
128,
129
],
[
62,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
130,
141
],
[
141,
142
],
[
62,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
146,
156
],
[
156,
157
],
[
62,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
164,
165
],
[
62,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
169,
173
],
[
173,
174
],
[
168,
175
],
[
175,
176
],
[
175,
177
],
[
168,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
168,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
168,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
62,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
203,
206
],
[
206,
207
],
[
62,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
211,
215
],
[
215,
216
],
[
210,
217
],
[
217,
218
],
[
217,
219
],
[
210,
220
],
[
220,
221
],
[
220,
222
],
[
210,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
210,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
210,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
239,
247
],
[
247,
248
],
[
248,
249
],
[
210,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
258,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
267,
269
],
[
253,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
270,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
282,
286
],
[
270,
287
],
[
287,
288
],
[
288,
289
],
[
252,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
62,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
62,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
309,
310
],
[
309,
311
],
[
305,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
312,
323
],
[
324,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
330,
331
],
[
305,
332
],
[
332,
333
],
[
303,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
339,
344
],
[
344,
345
],
[
344,
346
],
[
339,
347
],
[
347,
348
],
[
348,
349
],
[
339,
350
],
[
351,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
352,
356
],
[
356,
357
],
[
357,
358
],
[
334,
359
],
[
359,
360
],
[
300,
361
],
[
361,
362
],
[
300,
363
],
[
363,
364
],
[
62,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
374,
375
],
[
374,
376
],
[
370,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
377,
382
],
[
382,
383
],
[
382,
384
],
[
377,
385
],
[
385,
386
],
[
386,
387
],
[
377,
388
],
[
389,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
394,
395
],
[
395,
396
],
[
370,
397
],
[
397,
398
],
[
368,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
399,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
404,
409
],
[
409,
410
],
[
409,
411
],
[
404,
412
],
[
412,
413
],
[
413,
414
],
[
404,
415
],
[
416,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
417,
421
],
[
421,
422
],
[
422,
423
],
[
399,
424
],
[
424,
425
],
[
365,
426
],
[
426,
427
],
[
365,
428
],
[
428,
429
],
[
0,
430
],
[
430,
431
],
[
430,
432
]
]
| [
"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\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\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}",
"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\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\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}",
"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",
"static int m;",
"m",
"static int a;",
"a",
"static int b;",
"b",
"static String s;",
"s",
"public static void main(String[] args) {\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"main",
"{\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"s = sc.next()",
"s",
"sc.next()",
"sc.next",
"sc",
"char c = s.charAt(0);",
"c",
"s.charAt(0)",
"s.charAt",
"s",
"0",
"if ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");",
"(int)c<=90",
"(int)c",
"90",
"out.println(\"A\")",
"out.println",
"out",
"\"A\"",
"out.println(\"a\")",
"out.println",
"out",
"\"a\"",
"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 }",
"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 class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\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}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\ts = sc.next();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\t\n\t\tif ((int)c<=90)\n\t\t\tout.println(\"A\");\n\t\t\n\t\telse\n\t\t\tout.println(\"a\");\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t\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}",
"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 int m;
static int a;
static int b;
static String s;
//static HashMap <Integer, Integer> map;
public static void main(String[] args) {
s = sc.next();
char c = s.charAt(0);
if ((int)c<=90)
out.println("A");
else
out.println("a");
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;
}
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.