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,
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,
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
],
[
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
],
[
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
],
[
59,
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.*;\n\npublic class Main {\n\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 char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }\n\n System.out.println(count);\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 String s = scanner.next();\n String t = scanner.next();\n int count = 0;\n char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }\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 char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }\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 char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\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",
"char[] ss = s.toCharArray();",
"ss",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] tt = t.toCharArray();",
"tt",
"t.toCharArray()",
"t.toCharArray",
"t",
"for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }",
"{\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }",
"if (ss[i] != tt[i]) {\n count = count + 1;\n }",
"ss[i] != tt[i]",
"ss[i]",
"ss",
"i",
"tt[i]",
"tt",
"i",
"{\n count = count + 1;\n }",
"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\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 char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }\n\n System.out.println(count);\n }\n}",
"public class Main {\n\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 char[] ss = s.toCharArray();\n char[] tt = t.toCharArray();\n\n for (int i = 0; i < s.length(); i++) {\n if (ss[i] != tt[i]) {\n count = count + 1;\n }\n }\n\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
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;
char[] ss = s.toCharArray();
char[] tt = t.toCharArray();
for (int i = 0; i < s.length(); i++) {
if (ss[i] != tt[i]) {
count = count + 1;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
18,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
18,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
29,
4,
18,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
0,
13,
20,
0,
13,
20,
14,
2,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
4,
18,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
40,
13,
0,
13,
2,
2,
2,
13,
17,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
17,
28,
13,
13,
30,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
13,
28,
13,
13,
30,
4,
18,
13,
17,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
20,
17,
41,
13,
17,
28,
13,
13,
30,
30,
40,
18,
13,
13,
0,
13,
13,
41,
13,
4,
13,
42,
2,
40,
13,
17,
30,
41,
13,
4,
13,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
18,
13,
13,
0,
13,
2,
2,
13,
2,
13,
13,
2,
13,
13,
0,
18,
13,
13,
13,
0,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
13,
13,
30,
0,
13,
13,
40,
13,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
2,
2,
17,
13,
17,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
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,
40,
13,
4,
18,
13,
13,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
628,
11
],
[
628,
12
],
[
12,
13
],
[
628,
14
],
[
14,
15
],
[
14,
16
],
[
628,
17
],
[
17,
18
],
[
17,
19
],
[
628,
20
],
[
20,
21
],
[
20,
22
],
[
628,
23
],
[
23,
24
],
[
23,
25
],
[
628,
26
],
[
26,
27
],
[
26,
28
],
[
628,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
29,
49
],
[
49,
50
],
[
29,
51
],
[
51,
52
],
[
29,
53
],
[
53,
54
],
[
628,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
59,
64
],
[
628,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
628,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
628,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
97,
99
],
[
87,
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
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
120,
122
],
[
87,
123
],
[
123,
124
],
[
628,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
137,
138
],
[
137,
139
],
[
127,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
146,
148
],
[
141,
149
],
[
149,
150
],
[
150,
151
],
[
141,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
160,
161
],
[
160,
162
],
[
127,
163
],
[
163,
164
],
[
628,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
165,
174
],
[
174,
175
],
[
628,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
187,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
197,
199
],
[
186,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
202,
204
],
[
186,
205
],
[
205,
206
],
[
205,
207
],
[
186,
208
],
[
208,
209
],
[
208,
210
],
[
178,
211
],
[
211,
212
],
[
176,
213
],
[
213,
214
],
[
176,
215
],
[
215,
216
],
[
628,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
219,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
230,
232
],
[
226,
233
],
[
233,
234
],
[
233,
235
],
[
219,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
243,
248
],
[
240,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
219,
256
],
[
256,
257
],
[
257,
258
],
[
219,
259
],
[
259,
260
],
[
260,
261
],
[
217,
262
],
[
262,
263
],
[
628,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
266,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
266,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
266,
281
],
[
281,
282
],
[
281,
283
],
[
266,
284
],
[
284,
285
],
[
284,
286
],
[
266,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
287,
292
],
[
292,
293
],
[
292,
294
],
[
287,
295
],
[
295,
296
],
[
296,
297
],
[
287,
298
],
[
299,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
304,
310
],
[
266,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
311,
316
],
[
628,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
319,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
319,
328
],
[
328,
329
],
[
328,
330
],
[
319,
331
],
[
331,
332
],
[
331,
333
],
[
331,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
319,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
343,
344
],
[
343,
345
],
[
338,
346
],
[
346,
347
],
[
347,
348
],
[
338,
349
],
[
350,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
351,
355
],
[
319,
356
],
[
356,
357
],
[
356,
358
],
[
356,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
360,
363
],
[
360,
364
],
[
628,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
367,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
367,
376
],
[
376,
377
],
[
376,
378
],
[
367,
380
],
[
380,
381
],
[
380,
382
],
[
367,
383
],
[
383,
384
],
[
383,
385
],
[
383,
386
],
[
387,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
392,
394
],
[
367,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
367,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
400,
403
],
[
399,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
404,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
411,
413
],
[
404,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
416,
418
],
[
404,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
421,
423
],
[
404,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
429,
431
],
[
426,
432
],
[
432,
433
],
[
432,
434
],
[
404,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
435,
439
],
[
404,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
440,
444
],
[
404,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
445,
450
],
[
628,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
453,
457
],
[
457,
458
],
[
457,
459
],
[
453,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
461,
465
],
[
460,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
466,
470
],
[
470,
471
],
[
453,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
451,
476
],
[
476,
477
],
[
628,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
480,
485
],
[
485,
486
],
[
485,
487
],
[
480,
488
],
[
488,
489
],
[
488,
490
],
[
480,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
491,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
498,
500
],
[
495,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
501,
505
],
[
505,
506
],
[
505,
507
],
[
495,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
514
],
[
495,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
519,
521
],
[
518,
522
],
[
517,
523
],
[
480,
524
],
[
524,
525
],
[
525,
526
],
[
526,
527
],
[
526,
528
],
[
524,
529
],
[
628,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
533,
534
],
[
534,
535
],
[
534,
536
],
[
533,
537
],
[
537,
538
],
[
532,
539
],
[
539,
540
],
[
540,
541
],
[
540,
542
],
[
540,
543
],
[
543,
544
],
[
543,
545
],
[
530,
546
],
[
546,
547
],
[
530,
548
],
[
548,
549
],
[
628,
550
],
[
550,
551
],
[
550,
552
],
[
552,
553
],
[
553,
554
],
[
553,
555
],
[
555,
556
],
[
556,
557
],
[
552,
558
],
[
558,
559
],
[
558,
560
],
[
560,
561
],
[
561,
562
],
[
552,
563
],
[
563,
564
],
[
563,
565
],
[
565,
566
],
[
566,
567
],
[
552,
568
],
[
568,
569
],
[
568,
570
],
[
552,
571
],
[
571,
572
],
[
572,
573
],
[
573,
574
],
[
573,
575
],
[
571,
576
],
[
576,
577
],
[
576,
578
],
[
571,
579
],
[
579,
580
],
[
580,
581
],
[
571,
582
],
[
583,
583
],
[
583,
584
],
[
584,
585
],
[
584,
586
],
[
586,
587
],
[
587,
588
],
[
586,
589
],
[
583,
590
],
[
590,
591
],
[
590,
592
],
[
592,
593
],
[
593,
594
],
[
592,
595
],
[
583,
596
],
[
596,
597
],
[
597,
598
],
[
597,
599
],
[
596,
600
],
[
600,
601
],
[
552,
602
],
[
602,
603
],
[
603,
604
],
[
602,
605
],
[
628,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
608,
613
],
[
613,
614
],
[
614,
615
],
[
613,
616
],
[
617,
617
],
[
617,
618
],
[
617,
619
],
[
619,
620
],
[
619,
621
],
[
617,
622
],
[
623,
623
],
[
623,
624
],
[
623,
625
],
[
623,
626
],
[
0,
627
],
[
627,
628
],
[
627,
629
]
]
| [
"import java.math.*;\nimport java.util.*;\nimport java.io.*;\n \npublic class Main { \n \n static BufferedReader in;\n static PrintWriter out = new PrintWriter(System.out);\n static String file = \"../in\";\n static int test = 10; // 0 for local testing, 1 for std input\n static int inf = 1_000_000, mod = 1_000_000_007;\n\n\n\n void swap(int[]ary, int i, int j)\n {\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }\n \n String[] split() throws Exception\n {\n return in.readLine().split(\" \");\n }\n\n int readInt() throws Exception\n {\n return Integer.valueOf(in.readLine());\n }\n\n long readLong() throws Exception\n {\n return Long.valueOf(in.readLine());\n }\n\n long[] toLongArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }\n\n int[] toIntArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }\n\n String reverse(String str)\n {\n return new StringBuilder(str).reverse().toString();\n }\n\n\n long pow(long a, int pow)\n {\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }\n\n public static void main(String[] args) throws Exception\n {\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }\n void f() throws Exception\n {\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }\n\n void e() throws Exception\n {\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }\n\n void d() throws Exception\n {\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }\n\n int count(int k)\n {\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }\n\n\n void c() throws Exception\n {\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }\n\n int gcd(int a, int b)\n {\n if(b == 0) return a;\n return gcd(b, a % b);\n }\n\n void b() throws Exception\n {\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }\n\n void a() throws Exception\n {\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }\n}",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main { \n \n static BufferedReader in;\n static PrintWriter out = new PrintWriter(System.out);\n static String file = \"../in\";\n static int test = 10; // 0 for local testing, 1 for std input\n static int inf = 1_000_000, mod = 1_000_000_007;\n\n\n\n void swap(int[]ary, int i, int j)\n {\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }\n \n String[] split() throws Exception\n {\n return in.readLine().split(\" \");\n }\n\n int readInt() throws Exception\n {\n return Integer.valueOf(in.readLine());\n }\n\n long readLong() throws Exception\n {\n return Long.valueOf(in.readLine());\n }\n\n long[] toLongArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }\n\n int[] toIntArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }\n\n String reverse(String str)\n {\n return new StringBuilder(str).reverse().toString();\n }\n\n\n long pow(long a, int pow)\n {\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }\n\n public static void main(String[] args) throws Exception\n {\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }\n void f() throws Exception\n {\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }\n\n void e() throws Exception\n {\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }\n\n void d() throws Exception\n {\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }\n\n int count(int k)\n {\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }\n\n\n void c() throws Exception\n {\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }\n\n int gcd(int a, int b)\n {\n if(b == 0) return a;\n return gcd(b, a % b);\n }\n\n void b() throws Exception\n {\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }\n\n void a() throws Exception\n {\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }\n}",
"Main",
"static BufferedReader in;",
"in",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static String file = \"../in\";",
"file",
"\"../in\"",
"static int test = 10; // 0 for local testing, 1 for std input",
"test",
"10",
"static int inf = 1_000_000",
"inf",
"1_000_000",
"mod = 1_000_000_007;",
"mod",
"1_000_000_007",
"void swap(int[]ary, int i, int j)\n {\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }",
"swap",
"{\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }",
"int t = ary[i];",
"t",
"ary[i]",
"ary",
"i",
"ary[i] = ary[j]",
"ary[i]",
"ary",
"i",
"ary[j]",
"ary",
"j",
"ary[j] = t",
"ary[j]",
"ary",
"j",
"t",
"int[]ary",
"ary",
"int i",
"i",
"int j",
"j",
"String[] split() throws Exception\n {\n return in.readLine().split(\" \");\n }",
"split",
"{\n return in.readLine().split(\" \");\n }",
"return in.readLine().split(\" \");",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"int readInt() throws Exception\n {\n return Integer.valueOf(in.readLine());\n }",
"readInt",
"{\n return Integer.valueOf(in.readLine());\n }",
"return Integer.valueOf(in.readLine());",
"Integer.valueOf(in.readLine())",
"Integer.valueOf",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"long readLong() throws Exception\n {\n return Long.valueOf(in.readLine());\n }",
"readLong",
"{\n return Long.valueOf(in.readLine());\n }",
"return Long.valueOf(in.readLine());",
"Long.valueOf(in.readLine())",
"Long.valueOf",
"Long",
"in.readLine()",
"in.readLine",
"in",
"long[] toLongArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }",
"toLongArray",
"{\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }",
"String[] sp = split();",
"sp",
"split()",
"split",
"int n = sp.length;",
"n",
"sp.length",
"sp",
"sp.length",
"long[] ary = new long[n];",
"ary",
"new long[n]",
"n",
"for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ary[i] = Long.valueOf(sp[i]);",
"ary[i] = Long.valueOf(sp[i])",
"ary[i]",
"ary",
"i",
"Long.valueOf(sp[i])",
"Long.valueOf",
"Long",
"sp[i]",
"sp",
"i",
"return ary;",
"ary",
"int[] toIntArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }",
"toIntArray",
"{\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }",
"String[] sp = split();",
"sp",
"split()",
"split",
"int n = sp.length;",
"n",
"sp.length",
"sp",
"sp.length",
"int[] ary = new int[n];",
"ary",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ary[i] = Integer.valueOf(sp[i]);",
"ary[i] = Integer.valueOf(sp[i])",
"ary[i]",
"ary",
"i",
"Integer.valueOf(sp[i])",
"Integer.valueOf",
"Integer",
"sp[i]",
"sp",
"i",
"return ary;",
"ary",
"String reverse(String str)\n {\n return new StringBuilder(str).reverse().toString();\n }",
"reverse",
"{\n return new StringBuilder(str).reverse().toString();\n }",
"return new StringBuilder(str).reverse().toString();",
"new StringBuilder(str).reverse().toString()",
"new StringBuilder(str).reverse().toString",
"new StringBuilder(str).reverse()",
"new StringBuilder(str).reverse",
"new StringBuilder(str)",
"String str",
"str",
"long pow(long a, int pow)\n {\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }",
"pow",
"{\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }",
"long res = 1;",
"res",
"1",
"while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }",
"pow > 0",
"pow",
"0",
"{\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }",
"if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }",
"pow % 2 != 0",
"pow % 2",
"pow",
"2",
"0",
"{\n res *= a;\n res %= mod;\n }",
"res *= a",
"res",
"a",
"res %= mod",
"res",
"mod",
"a = a * a",
"a",
"a * a",
"a",
"a",
"a %= mod",
"a",
"mod",
"pow /= 2",
"pow",
"2",
"return res;",
"res",
"long a",
"a",
"int pow",
"pow",
"public static void main(String[] args) throws Exception\n {\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }",
"main",
"{\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }",
"int _k = Integer.valueOf(\"1\");",
"_k",
"Integer.valueOf(\"1\")",
"Integer.valueOf",
"Integer",
"\"1\"",
"if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));",
"test > 0",
"test",
"0",
"in = new BufferedReader(new InputStreamReader(System.in))",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"in = new BufferedReader(new FileReader(file))",
"in",
"new BufferedReader(new FileReader(file))",
"if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}",
"test < 0",
"test",
"0",
"{String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}",
"String[] str = in.readLine().split(\" \");",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"char[] gg = in.readLine().toCharArray();",
"gg",
"in.readLine().toCharArray()",
"in.readLine().toCharArray",
"in.readLine()",
"in.readLine",
"in",
"new Main().b()",
"new Main().b",
"new Main()",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"void f() throws Exception\n {\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }",
"f",
"{\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }",
"int k = readInt();",
"k",
"readInt()",
"readInt",
"String s = in.readLine();",
"s",
"in.readLine()",
"in.readLine",
"in",
"int n = s.length();",
"n",
"s.length()",
"s.length",
"s",
"long prod = 1;",
"prod",
"1",
"int mod = 1_000_000_007;",
"mod",
"1_000_000_007",
"for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < k",
"i",
"k",
"i++",
"i++",
"i",
"{\n n++;\n prod = (prod * 26 * n) % mod;\n }",
"{\n n++;\n prod = (prod * 26 * n) % mod;\n }",
"n++",
"n",
"prod = (prod * 26 * n) % mod",
"prod",
"(prod * 26 * n) % mod",
"(prod * 26 * n)",
"prod * 26 * n",
"prod",
"26",
"n",
"mod",
"System.out.println(prod)",
"System.out.println",
"System.out",
"System",
"System.out",
"prod",
"void e() throws Exception\n {\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }",
"e",
"{\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }",
"int n = readInt();",
"n",
"readInt()",
"readInt",
"int[] ary = toIntArray();",
"ary",
"toIntArray()",
"toIntArray",
"int xor = 0;",
"xor",
"0",
"for(int k : ary) xor ^= k;",
"int k",
"ary",
"xor ^= k;",
"xor ^= k",
"xor",
"k",
"for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ary[i] ^= xor;\n }",
"{\n ary[i] ^= xor;\n }",
"ary[i] ^= xor",
"ary[i]",
"ary",
"i",
"xor",
"for(int k : ary) out.printf(\"%d \", k);",
"int k",
"ary",
"out.printf(\"%d \", k);",
"out.printf(\"%d \", k)",
"out.printf",
"out",
"\"%d \"",
"k",
"void d() throws Exception\n {\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }",
"d",
"{\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }",
"long n = readLong();",
"n",
"readLong()",
"readLong",
"long[] ary = toLongArray();",
"ary",
"toLongArray()",
"toLongArray",
"long[] f = new long[100010];",
"f",
"new long[100010]",
"100010",
"long sum = 0;",
"sum",
"0",
"for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }",
"long k",
"ary",
"{\n f[(int)k]++;\n sum += k;\n }",
"{\n f[(int)k]++;\n sum += k;\n }",
"f[(int)k]++",
"f[(int)k]",
"f",
"(int)k",
"sum += k",
"sum",
"k",
"long q = readLong();",
"q",
"readLong()",
"readLong",
"while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }",
"q--> 0",
"q--",
"q",
"0",
"{\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }",
"long[] op = toLongArray();",
"op",
"toLongArray()",
"toLongArray",
"long b = op[0]",
"b",
"op[0]",
"op",
"0",
"c = op[1];",
"c",
"op[1]",
"op",
"1",
"long count = f[(int)b];",
"count",
"f[(int)b]",
"f",
"(int)b",
"sum = sum - b * count + c * count",
"sum",
"sum - b * count + c * count",
"sum - b * count",
"sum",
"b * count",
"b",
"count",
"c * count",
"c",
"count",
"f[(int)b] -= count",
"f[(int)b]",
"f",
"(int)b",
"count",
"f[(int)c] += count",
"f[(int)c]",
"f",
"(int)c",
"count",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"int count(int k)\n {\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }",
"count",
"{\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }",
"int sum = 0",
"sum",
"0",
"cur = 0;",
"cur",
"0",
"while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }",
"sum + cur <= k",
"sum + cur",
"sum",
"cur",
"k",
"{\n sum += cur;\n cur++;\n }",
"sum += cur",
"sum",
"cur",
"cur++",
"cur",
"return cur - 1;",
"cur - 1",
"cur",
"1",
"int k",
"k",
"void c() throws Exception\n {\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }",
"c",
"{\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }",
"long n = readLong();",
"n",
"readLong()",
"readLong",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str = \"\";",
"str",
"\"\"",
"while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }",
"n > 0",
"n",
"0",
"{\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }",
"long rem = n % 26;",
"rem",
"n % 26",
"n",
"26",
"if(rem == 0) rem = 26;",
"rem == 0",
"rem",
"0",
"rem = 26",
"rem",
"26",
"n = (n - rem) / 26",
"n",
"(n - rem) / 26",
"(n - rem)",
"n",
"rem",
"26",
"str = (char)('a' + rem - 1) + str",
"str",
"(char)('a' + rem - 1) + str",
"(char)('a' + rem - 1)",
"'a' + rem",
"'a'",
"rem",
"1",
"str",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"int gcd(int a, int b)\n {\n if(b == 0) return a;\n return gcd(b, a % b);\n }",
"gcd",
"{\n if(b == 0) return a;\n return gcd(b, a % b);\n }",
"if(b == 0) return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"void b() throws Exception\n {\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }",
"b",
"{\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }",
"String s1 = in.readLine()",
"s1",
"in.readLine()",
"in.readLine",
"in",
"s2 = in.readLine();",
"s2",
"in.readLine()",
"in.readLine",
"in",
"int n = s1.length();",
"n",
"s1.length()",
"s1.length",
"s1",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }",
"{\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }",
"char c1 = s1.charAt(i)",
"c1",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"c2 = s2.charAt(i);",
"c2",
"s2.charAt(i)",
"s2.charAt",
"s2",
"i",
"if(c1 != c2) ans++;",
"c1 != c2",
"c1",
"c2",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"void a() throws Exception\n {\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }",
"a",
"{\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }",
"int a = readInt();",
"a",
"readInt()",
"readInt",
"out.println(a + a * a + a * a * a)",
"out.println",
"out",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"public class Main { \n \n static BufferedReader in;\n static PrintWriter out = new PrintWriter(System.out);\n static String file = \"../in\";\n static int test = 10; // 0 for local testing, 1 for std input\n static int inf = 1_000_000, mod = 1_000_000_007;\n\n\n\n void swap(int[]ary, int i, int j)\n {\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }\n \n String[] split() throws Exception\n {\n return in.readLine().split(\" \");\n }\n\n int readInt() throws Exception\n {\n return Integer.valueOf(in.readLine());\n }\n\n long readLong() throws Exception\n {\n return Long.valueOf(in.readLine());\n }\n\n long[] toLongArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }\n\n int[] toIntArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }\n\n String reverse(String str)\n {\n return new StringBuilder(str).reverse().toString();\n }\n\n\n long pow(long a, int pow)\n {\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }\n\n public static void main(String[] args) throws Exception\n {\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }\n void f() throws Exception\n {\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }\n\n void e() throws Exception\n {\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }\n\n void d() throws Exception\n {\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }\n\n int count(int k)\n {\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }\n\n\n void c() throws Exception\n {\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }\n\n int gcd(int a, int b)\n {\n if(b == 0) return a;\n return gcd(b, a % b);\n }\n\n void b() throws Exception\n {\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }\n\n void a() throws Exception\n {\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }\n}",
"public class Main { \n \n static BufferedReader in;\n static PrintWriter out = new PrintWriter(System.out);\n static String file = \"../in\";\n static int test = 10; // 0 for local testing, 1 for std input\n static int inf = 1_000_000, mod = 1_000_000_007;\n\n\n\n void swap(int[]ary, int i, int j)\n {\n int t = ary[i];\n ary[i] = ary[j];\n ary[j] = t;\n }\n \n String[] split() throws Exception\n {\n return in.readLine().split(\" \");\n }\n\n int readInt() throws Exception\n {\n return Integer.valueOf(in.readLine());\n }\n\n long readLong() throws Exception\n {\n return Long.valueOf(in.readLine());\n }\n\n long[] toLongArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n long[] ary = new long[n];\n for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);\n return ary;\n }\n\n int[] toIntArray() throws Exception\n {\n String[] sp = split();\n int n = sp.length;\n int[] ary = new int[n];\n for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);\n return ary;\n }\n\n String reverse(String str)\n {\n return new StringBuilder(str).reverse().toString();\n }\n\n\n long pow(long a, int pow)\n {\n long res = 1;\n while(pow > 0)\n {\n if(pow % 2 != 0) {\n res *= a;\n res %= mod;\n }\n a = a * a;\n a %= mod;\n pow /= 2;\n }\n\n return res;\n }\n\n public static void main(String[] args) throws Exception\n {\n int _k = Integer.valueOf(\"1\");\n if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));\n else in = new BufferedReader(new FileReader(file));\n if(test < 0) {String[] str = in.readLine().split(\" \");\n char[] gg = in.readLine().toCharArray();}\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n/***********************************************************************/\n // System.out.println((-100 + 0) / 2);\n\n // char[] c = new char[4];\n // c[1] = '.';\n // for(char i = '0'; i <= '9'; i++)\n // {\n // for(char j = '0'; j <= '9'; j++)\n // {\n // for(char k = '0'; k <= '9'; k++)\n // {\n // c[0] = i;\n // c[2] = j;\n // c[3] = k;\n // double d = Double.valueOf(String.valueOf(c));\n // int v = (int)(d * 100);\n // String s1 = String.valueOf(\"\" + c[0] + c[2] + c[3]),\n // s2 = String.valueOf(v);\n // System.out.printf(\"%s %s %b\\n\", s1, s2, s1.equals(s2));\n // }\n // }\n // }\n\n\n new Main().b();\n out.flush();\n }\n void f() throws Exception\n {\n int k = readInt();\n String s = in.readLine();\n int n = s.length();\n long prod = 1;\n int mod = 1_000_000_007;\n for(int i = 0; i < k; i++)\n {\n n++;\n prod = (prod * 26 * n) % mod;\n }\n System.out.println(prod);\n\n }\n\n void e() throws Exception\n {\n int n = readInt();\n int[] ary = toIntArray();\n int xor = 0;\n for(int k : ary) xor ^= k;\n for(int i = 0; i < n; i++)\n {\n ary[i] ^= xor;\n }\n for(int k : ary) out.printf(\"%d \", k);\n \n }\n\n void d() throws Exception\n {\n long n = readLong();\n long[] ary = toLongArray();\n long[] f = new long[100010];\n long sum = 0;\n for(long k : ary)\n {\n f[(int)k]++;\n sum += k;\n }\n long q = readLong();\n while(q--> 0)\n {\n long[] op = toLongArray();\n long b = op[0], c = op[1];\n long count = f[(int)b];\n sum = sum - b * count + c * count;\n f[(int)b] -= count;\n f[(int)c] += count;\n System.out.println(sum);\n }\n }\n\n int count(int k)\n {\n int sum = 0, cur = 0;\n while(sum + cur <= k)\n {\n sum += cur;\n cur++;\n }\n return cur - 1;\n }\n\n\n void c() throws Exception\n {\n long n = readLong();\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n while(n > 0)\n {\n long rem = n % 26;\n if(rem == 0) rem = 26;\n n = (n - rem) / 26;\n str = (char)('a' + rem - 1) + str;\n }\n System.out.println(str);\n }\n\n int gcd(int a, int b)\n {\n if(b == 0) return a;\n return gcd(b, a % b);\n }\n\n void b() throws Exception\n {\n String s1 = in.readLine(),\n s2 = in.readLine();\n int n = s1.length();\n int ans = 0;\n for(int i = 0; i < n; i++)\n {\n char c1 = s1.charAt(i),\n c2 = s2.charAt(i);\n if(c1 != c2) ans++;\n }\n out.println(ans);\n }\n\n void a() throws Exception\n {\n int a = readInt();\n out.println(a + a * a + a * a * a);\n }\n}",
"Main"
]
| import java.math.*;
import java.util.*;
import java.io.*;
public class Main {
static BufferedReader in;
static PrintWriter out = new PrintWriter(System.out);
static String file = "../in";
static int test = 10; // 0 for local testing, 1 for std input
static int inf = 1_000_000, mod = 1_000_000_007;
void swap(int[]ary, int i, int j)
{
int t = ary[i];
ary[i] = ary[j];
ary[j] = t;
}
String[] split() throws Exception
{
return in.readLine().split(" ");
}
int readInt() throws Exception
{
return Integer.valueOf(in.readLine());
}
long readLong() throws Exception
{
return Long.valueOf(in.readLine());
}
long[] toLongArray() throws Exception
{
String[] sp = split();
int n = sp.length;
long[] ary = new long[n];
for(int i = 0; i < n; i++) ary[i] = Long.valueOf(sp[i]);
return ary;
}
int[] toIntArray() throws Exception
{
String[] sp = split();
int n = sp.length;
int[] ary = new int[n];
for(int i = 0; i < n; i++) ary[i] = Integer.valueOf(sp[i]);
return ary;
}
String reverse(String str)
{
return new StringBuilder(str).reverse().toString();
}
long pow(long a, int pow)
{
long res = 1;
while(pow > 0)
{
if(pow % 2 != 0) {
res *= a;
res %= mod;
}
a = a * a;
a %= mod;
pow /= 2;
}
return res;
}
public static void main(String[] args) throws Exception
{
int _k = Integer.valueOf("1");
if(test > 0) in = new BufferedReader(new InputStreamReader(System.in));
else in = new BufferedReader(new FileReader(file));
if(test < 0) {String[] str = in.readLine().split(" ");
char[] gg = in.readLine().toCharArray();}
/***********************************************************************/
/***********************************************************************/
/***********************************************************************/
/***********************************************************************/
// System.out.println((-100 + 0) / 2);
// char[] c = new char[4];
// c[1] = '.';
// for(char i = '0'; i <= '9'; i++)
// {
// for(char j = '0'; j <= '9'; j++)
// {
// for(char k = '0'; k <= '9'; k++)
// {
// c[0] = i;
// c[2] = j;
// c[3] = k;
// double d = Double.valueOf(String.valueOf(c));
// int v = (int)(d * 100);
// String s1 = String.valueOf("" + c[0] + c[2] + c[3]),
// s2 = String.valueOf(v);
// System.out.printf("%s %s %b\n", s1, s2, s1.equals(s2));
// }
// }
// }
new Main().b();
out.flush();
}
void f() throws Exception
{
int k = readInt();
String s = in.readLine();
int n = s.length();
long prod = 1;
int mod = 1_000_000_007;
for(int i = 0; i < k; i++)
{
n++;
prod = (prod * 26 * n) % mod;
}
System.out.println(prod);
}
void e() throws Exception
{
int n = readInt();
int[] ary = toIntArray();
int xor = 0;
for(int k : ary) xor ^= k;
for(int i = 0; i < n; i++)
{
ary[i] ^= xor;
}
for(int k : ary) out.printf("%d ", k);
}
void d() throws Exception
{
long n = readLong();
long[] ary = toLongArray();
long[] f = new long[100010];
long sum = 0;
for(long k : ary)
{
f[(int)k]++;
sum += k;
}
long q = readLong();
while(q--> 0)
{
long[] op = toLongArray();
long b = op[0], c = op[1];
long count = f[(int)b];
sum = sum - b * count + c * count;
f[(int)b] -= count;
f[(int)c] += count;
System.out.println(sum);
}
}
int count(int k)
{
int sum = 0, cur = 0;
while(sum + cur <= k)
{
sum += cur;
cur++;
}
return cur - 1;
}
void c() throws Exception
{
long n = readLong();
StringBuilder sb = new StringBuilder();
String str = "";
while(n > 0)
{
long rem = n % 26;
if(rem == 0) rem = 26;
n = (n - rem) / 26;
str = (char)('a' + rem - 1) + str;
}
System.out.println(str);
}
int gcd(int a, int b)
{
if(b == 0) return a;
return gcd(b, a % b);
}
void b() throws Exception
{
String s1 = in.readLine(),
s2 = in.readLine();
int n = s1.length();
int ans = 0;
for(int i = 0; i < n; i++)
{
char c1 = s1.charAt(i),
c2 = s2.charAt(i);
if(c1 != c2) ans++;
}
out.println(ans);
}
void a() throws Exception
{
int a = readInt();
out.println(a + a * a + a * a * a);
}
} |
[
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
40,
4,
18,
13,
13,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
35,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
42,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
]
]
| [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tsc.close();\n\t\tint i=0;\n\t\tint ans = 0;\n\t\twhile(!Arrays.equals(S, T)){\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(ans);\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\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tsc.close();\n\t\tint i=0;\n\t\tint ans = 0;\n\t\twhile(!Arrays.equals(S, T)){\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tsc.close();\n\t\tint i=0;\n\t\tint ans = 0;\n\t\twhile(!Arrays.equals(S, T)){\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tsc.close();\n\t\tint i=0;\n\t\tint ans = 0;\n\t\twhile(!Arrays.equals(S, T)){\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(ans);\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",
"sc.close()",
"sc.close",
"sc",
"int i=0;",
"i",
"0",
"int ans = 0;",
"ans",
"0",
"while(!Arrays.equals(S, T)){\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"!Arrays.equals(S, T)",
"Arrays.equals(S, T)",
"Arrays.equals",
"Arrays",
"S",
"T",
"{\n\t\t\tif(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"if(T[i]!=S[i]){\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}",
"T[i]!=S[i]",
"T[i]",
"T",
"i",
"S[i]",
"S",
"i",
"{\n\t\t\t\tS[i]=T[i];\n\t\t\t\tans++;\n\t\t\t}",
"S[i]=T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"ans++",
"ans",
"i++",
"i",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char[] S = sc.next().toCharArray();
char[] T = sc.next().toCharArray();
sc.close();
int i=0;
int ans = 0;
while(!Arrays.equals(S, T)){
if(T[i]!=S[i]){
S[i]=T[i];
ans++;
}
i++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
17,
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
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
13,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
13,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
13,
36
],
[
36,
37
],
[
36,
38
],
[
13,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
13,
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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\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\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n\t\t}",
"{\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"char[] c1 = sc.nextLine().toCharArray();",
"c1",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char[] c2 = sc.nextLine().toCharArray();",
"c2",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int len = c1.length;",
"len",
"c1.length",
"c1",
"c1.length",
"int counter = 0;",
"counter",
"0",
"for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n \tif (c1[i] != c2[i]) counter++;\n }",
"{\n \tif (c1[i] != c2[i]) counter++;\n }",
"if (c1[i] != c2[i]) counter++;",
"c1[i] != c2[i]",
"c1[i]",
"c1",
"i",
"c2[i]",
"c2",
"i",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n char[] c1 = sc.nextLine().toCharArray();\n char[] c2 = sc.nextLine().toCharArray();\n\n int len = c1.length;\n int counter = 0;\n\n for (int i = 0; i < len; i++) {\n \tif (c1[i] != c2[i]) counter++;\n }\n\n\n\n System.out.println(counter);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
try (Scanner sc = new Scanner(System.in)) {
char[] c1 = sc.nextLine().toCharArray();
char[] c2 = sc.nextLine().toCharArray();
int len = c1.length;
int counter = 0;
for (int i = 0; i < len; i++) {
if (c1[i] != c2[i]) counter++;
}
System.out.println(counter);
} catch (Exception e) {
// TODO: handle exception
}
}
} |
[
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) {\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 = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.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 = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.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 = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.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 = 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) {\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 = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n if(s.charAt(i) != t.charAt(i)){\n count++;\n }\n }\n System.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 = 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,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
82,
5
],
[
82,
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
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"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\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }\n System.out.println(ans);\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\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }\n System.out.println(ans);\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\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }\n System.out.println(ans);\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[] cS = S.toCharArray();",
"cS",
"S.toCharArray()",
"S.toCharArray",
"S",
"char[] cT = T.toCharArray();",
"cT",
"T.toCharArray()",
"T.toCharArray",
"T",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\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(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }",
"{\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }",
"if(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}",
"cS == cT",
"cS",
"cT",
"{\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"if(cS[i] != cT[i]) {\n \t\tans++;\n \t}",
"cS[i] != cT[i]",
"cS[i]",
"cS",
"i",
"cT[i]",
"cT",
"i",
"{\n \t\tans++;\n \t}",
"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 S = sc.next();\n String T = sc.next();\n\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\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 S = sc.next();\n String T = sc.next();\n\n char[] cS = S.toCharArray();\n char[] cT = T.toCharArray();\n\n int ans = 0;\n\n for(int i = 0; i < S.length(); i++) {\n \tif(cS == cT) {\n \t\tSystem.out.println(ans);\n \t\treturn;\n \t}\n \tif(cS[i] != cT[i]) {\n \t\tans++;\n \t}\n }\n System.out.println(ans);\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[] cS = S.toCharArray();
char[] cT = T.toCharArray();
int ans = 0;
for(int i = 0; i < S.length(); i++) {
if(cS == cT) {
System.out.println(ans);
return;
}
if(cS[i] != cT[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,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
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
],
[
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
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }\n }",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String S = in.nextLine();",
"S",
"in.nextLine()",
"in.nextLine",
"in",
"String T = in.nextLine();",
"T",
"in.nextLine()",
"in.nextLine",
"in",
"int A = 0;",
"A",
"0",
"for (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}",
"int count = 0;",
"int count = 0;",
"count",
"0",
"count < S.length()",
"count",
"S.length()",
"S.length",
"S",
"count++",
"count++",
"count",
"{\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}",
"{\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}",
"if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }",
"S.charAt(count) == T.charAt(count)",
"S.charAt(count)",
"S.charAt",
"S",
"count",
"T.charAt(count)",
"T.charAt",
"T",
"count",
"{\n A = A +1 ;\n }",
"A = A +1",
"A",
"A +1",
"A",
"1",
"System.out.println(S.length()-A)",
"System.out.println",
"System.out",
"System",
"System.out",
"S.length()-A",
"S.length()",
"S.length",
"S",
"A",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }\n }",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int A = 0;\n\nfor (int count = 0; count < S.length(); count++){\n if(S.charAt(count) == T.charAt(count)){\n A = A +1 ;\n }\n}\n\nSystem.out.println(S.length()-A);\n }\n }",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
String S = in.nextLine();
String T = in.nextLine();
int A = 0;
for (int count = 0; count < S.length(); count++){
if(S.charAt(count) == T.charAt(count)){
A = A +1 ;
}
}
System.out.println(S.length()-A);
}
} |
[
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
]
| [
[
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
],
[
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
]
]
| [
"import java.util.Scanner;\nclass Main{\n public static void main(String []args){\n Scanner input=new Scanner(System.in);\n String S=input.next();\n String T=input.next();\n int result=0;\n for(int i=0;i<S.length();i++){\n if(S.charAt(i)!=T.charAt(i)){\n ++result;}\n }System.out.println(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String []args){\n Scanner input=new Scanner(System.in);\n String S=input.next();\n String T=input.next();\n int result=0;\n for(int i=0;i<S.length();i++){\n if(S.charAt(i)!=T.charAt(i)){\n ++result;}\n }System.out.println(result);\n }\n}",
"Main",
"public static void main(String []args){\n Scanner input=new Scanner(System.in);\n String S=input.next();\n String T=input.next();\n int result=0;\n for(int i=0;i<S.length();i++){\n if(S.charAt(i)!=T.charAt(i)){\n ++result;}\n }System.out.println(result);\n }",
"main",
"{\n Scanner input=new Scanner(System.in);\n String S=input.next();\n String T=input.next();\n int result=0;\n for(int i=0;i<S.length();i++){\n if(S.charAt(i)!=T.charAt(i)){\n ++result;}\n }System.out.println(result);\n }",
"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",
"int result=0;",
"result",
"0",
"for(int i=0;i<S.length();i++){\n if(S.charAt(i)!=T.charAt(i)){\n ++result;}\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 if(S.charAt(i)!=T.charAt(i)){\n ++result;}\n }",
"if(S.charAt(i)!=T.charAt(i)){\n ++result;}",
"S.charAt(i)!=T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n ++result;}",
"++result",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String []args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String []args){
Scanner input=new Scanner(System.in);
String S=input.next();
String T=input.next();
int result=0;
for(int i=0;i<S.length();i++){
if(S.charAt(i)!=T.charAt(i)){
++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,
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,
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
],
[
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
],
[
45,
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
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\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\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\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\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String N = scan.next();",
"N",
"scan.next()",
"scan.next",
"scan",
"String T = scan.next();",
"T",
"scan.next()",
"scan.next",
"scan",
"String[] n = N.split(\"\");",
"n",
"N.split(\"\")",
"N.split",
"N",
"\"\"",
"String[] t = T.split(\"\");",
"t",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int c =0;",
"c",
"0",
"for(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N.length()",
"i",
"N.length()",
"N.length",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"if(n[i].equals(t[i])){\n\t\t\t}else {\n\t\t\t\tc++;\n\t\t\t}",
"n[i].equals(t[i])",
"n[i].equals",
"n[i]",
"n",
"i",
"t[i]",
"t",
"i",
"{\n\t\t\t}",
"{\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\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\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\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString N = scan.next();\n\t\tString T = scan.next();\n\t\tString[] n = N.split(\"\");\n\t\tString[] t = T.split(\"\");\n\t\tint c =0;\n\t\t\n\t\tfor(int i=0; i<N.length(); i++) {\n\t\t\tif(n[i].equals(t[i])){\n\t\t\t}else {\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.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String N = scan.next();
String T = scan.next();
String[] n = N.split("");
String[] t = T.split("");
int c =0;
for(int i=0; i<N.length(); i++) {
if(n[i].equals(t[i])){
}else {
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,
17,
41,
13,
4,
18,
13,
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,
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
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
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
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\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 Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }\n System.out.println(count);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"String[] s = S.split(\"\");",
"s",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String T = scan.next();",
"T",
"scan.next()",
"scan.next",
"scan",
"String[] t = T.split(\"\");",
"t",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[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[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }",
"{\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }",
"if(!(s[i].equals(t[i]))){\n s[i] = 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 s[i] = t[i];\n count++;\n }",
"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 public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String[] s = S.split(\"\");\n String T = scan.next();\n String[] t = T.split(\"\");\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!(s[i].equals(t[i]))){\n s[i] = t[i];\n count++;\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 scan = new Scanner(System.in);
String S = scan.next();
String[] s = S.split("");
String T = scan.next();
String[] t = T.split("");
int count = 0;
for(int i = 0; i < S.length(); i++){
if(!(s[i].equals(t[i]))){
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,
17,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
30,
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
],
[
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
],
[
26,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
25,
37
],
[
37,
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
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
37,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
]
]
| [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str01 = sc.next();\n String str02 = sc.next();\n \n int count = 0;\n if(str01.equals(str02)){\n \tSystem.out.println(count);\n }else{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str01 = sc.next();\n String str02 = sc.next();\n \n int count = 0;\n if(str01.equals(str02)){\n \tSystem.out.println(count);\n }else{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str01 = sc.next();\n String str02 = sc.next();\n \n int count = 0;\n if(str01.equals(str02)){\n \tSystem.out.println(count);\n }else{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str01 = sc.next();\n String str02 = sc.next();\n \n int count = 0;\n if(str01.equals(str02)){\n \tSystem.out.println(count);\n }else{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str01 = sc.next();",
"str01",
"sc.next()",
"sc.next",
"sc",
"String str02 = sc.next();",
"str02",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"if(str01.equals(str02)){\n \tSystem.out.println(count);\n }else{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }",
"str01.equals(str02)",
"str01.equals",
"str01",
"str02",
"{\n \tSystem.out.println(count);\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"{\n \tfor(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }\n System.out.println(count);\n }",
"for(int i = 0; i < str01.length(); i++){\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str01.length()",
"i",
"str01.length()",
"str01.length",
"str01",
"i++",
"i++",
"i",
"{\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }",
"{\n \tif(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }\n }",
"if(str01.charAt(i) != str02.charAt(i)){\n\t\t \t\tcount++;\n }",
"str01.charAt(i) != str02.charAt(i)",
"str01.charAt(i)",
"str01.charAt",
"str01",
"i",
"str02.charAt(i)",
"str02.charAt",
"str02",
"i",
"{\n\t\t \t\tcount++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str01 = sc.next();
String str02 = sc.next();
int count = 0;
if(str01.equals(str02)){
System.out.println(count);
}else{
for(int i = 0; i < str01.length(); i++){
if(str01.charAt(i) != str02.charAt(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,
13,
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,
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
],
[
66,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
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
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
45,
55
],
[
55,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
12,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\npublic class Main {\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}",
"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",
"t=br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"int c=0;",
"c",
"0",
"for(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;",
"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)) ++c;",
"if(s.charAt(i)!=t.charAt(i)) ++c;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"++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)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine(),t=br.readLine();\n\t\tint c=0;\n\t\tfor(int i=0; i<s.length(); i++) if(s.charAt(i)!=t.charAt(i)) ++c;\n\t\tSystem.out.println(c);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
public static void main(String[] args)throws java.lang.Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s=br.readLine(),t=br.readLine();
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,
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,
41,
13,
20,
18,
13,
13,
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
],
[
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
],
[
37,
39
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int counter =0;\n String a = sc.next();\n String b = sc.next();\n String[] aa = a.split(\"\");\n String[] bb = b.split(\"\");\n String[] cc = new String[aa.length];\n for(int i =0; i< aa.length;i++){\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }\n System.out.println(counter);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int counter =0;\n String a = sc.next();\n String b = sc.next();\n String[] aa = a.split(\"\");\n String[] bb = b.split(\"\");\n String[] cc = new String[aa.length];\n for(int i =0; i< aa.length;i++){\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }\n System.out.println(counter);\n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int counter =0;\n String a = sc.next();\n String b = sc.next();\n String[] aa = a.split(\"\");\n String[] bb = b.split(\"\");\n String[] cc = new String[aa.length];\n for(int i =0; i< aa.length;i++){\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }\n System.out.println(counter);\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int counter =0;\n String a = sc.next();\n String b = sc.next();\n String[] aa = a.split(\"\");\n String[] bb = b.split(\"\");\n String[] cc = new String[aa.length];\n for(int i =0; i< aa.length;i++){\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }\n System.out.println(counter);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int counter =0;",
"counter",
"0",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"String[] aa = a.split(\"\");",
"aa",
"a.split(\"\")",
"a.split",
"a",
"\"\"",
"String[] bb = b.split(\"\");",
"bb",
"b.split(\"\")",
"b.split",
"b",
"\"\"",
"String[] cc = new String[aa.length];",
"cc",
"new String[aa.length]",
"aa.length",
"aa",
"aa.length",
"for(int i =0; i< aa.length;i++){\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< aa.length",
"i",
"aa.length",
"aa",
"aa.length",
"i++",
"i++",
"i",
"{\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }",
"{\n \tif(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }\n }",
"if(aa[i].equals(bb[i])){\n \n }else{\n \tcounter++;\n \n }",
"aa[i].equals(bb[i])",
"aa[i].equals",
"aa[i]",
"aa",
"i",
"bb[i]",
"bb",
"i",
"{\n \n }",
"{\n \tcounter++;\n \n }",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int counter =0;
String a = sc.next();
String b = sc.next();
String[] aa = a.split("");
String[] bb = b.split("");
String[] cc = new String[aa.length];
for(int i =0; i< aa.length;i++){
if(aa[i].equals(bb[i])){
}else{
counter++;
}
}
System.out.println(counter);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
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
],
[
67,
5
],
[
67,
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
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
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.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\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",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char[] 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\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\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] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n\t\t\t\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] s = sc.next().toCharArray();\n\t\tsc.nextLine();\n\t\tchar[] t = sc.next().toCharArray();\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i] != t[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\t\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
char[] s = sc.next().toCharArray();
sc.nextLine();
char[] t = sc.next().toCharArray();
int ans = 0;
for (int i = 0; i < s.length; i++) {
if (s[i] != t[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,
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,
0,
13,
17,
4,
18,
18,
13,
13,
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
],
[
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
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"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 S = scan.next();\n\t\tString T = scan.next();\n\t\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\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.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 S = scan.next();\n\t\tString T = scan.next();\n\t\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\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[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.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",
"scan.close()",
"scan.close",
"scan",
"String[] sArray = S.split(\"\");",
"sArray",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] tArray = T.split(\"\");",
"tArray",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sArray.length",
"i",
"sArray.length",
"sArray",
"sArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"if (!sArray[i].equals(tArray[i])) {\n\t\t\t\tcount += 1;\n\t\t\t}",
"!sArray[i].equals(tArray[i])",
"sArray[i].equals(tArray[i])",
"sArray[i].equals",
"sArray[i]",
"sArray",
"i",
"tArray[i]",
"tArray",
"i",
"{\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[] args",
"args",
"public class Main {\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\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\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\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\tscan.close();\n\n\t\tString[] sArray = S.split(\"\");\n\t\tString[] tArray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sArray.length; i++) {\n\t\t\tif (!sArray[i].equals(tArray[i])) {\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.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String S = scan.next();
String T = scan.next();
scan.close();
String[] sArray = S.split("");
String[] tArray = T.split("");
int count = 0;
for (int i = 0; i < sArray.length; i++) {
if (!sArray[i].equals(tArray[i])) {
count += 1;
}
}
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,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
14,
40,
4,
18,
13,
18,
13,
13,
30,
40,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
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
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
44,
56
],
[
56,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] asis = reader.readLine().split(\"\");",
"asis",
"reader.readLine().split(\"\")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\"\"",
"String[] tobe = reader.readLine().split(\"\");",
"tobe",
"reader.readLine().split(\"\")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\"\"",
"int i = 0;",
"i",
"0",
"int count =0;",
"count",
"0",
"for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }",
"String s",
"asis",
"{\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }",
"{\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }",
"if (!s.equals(tobe[i])) {\n count++;\n }",
"!s.equals(tobe[i])",
"s.equals(tobe[i])",
"s.equals",
"s",
"tobe[i]",
"tobe",
"i",
"{\n count++;\n }",
"count++",
"count",
"i++",
"i",
"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 IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] asis = reader.readLine().split(\"\");\n String[] tobe = reader.readLine().split(\"\");\n int i = 0;\n int count =0;\n for (String s : asis) {\n if (!s.equals(tobe[i])) {\n count++;\n }\n i++;\n }\n System.out.println(count);\n\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] asis = reader.readLine().split("");
String[] tobe = reader.readLine().split("");
int i = 0;
int count =0;
for (String s : asis) {
if (!s.equals(tobe[i])) {
count++;
}
i++;
}
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,
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,
13,
4,
18,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
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
],
[
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
],
[
169,
29
],
[
169,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
169,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
78,
79
],
[
78,
80
],
[
67,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
103,
113
],
[
113,
114
],
[
96,
115
],
[
115,
116
],
[
67,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
65,
121
],
[
121,
122
],
[
65,
123
],
[
123,
124
],
[
65,
125
],
[
125,
126
],
[
169,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
127,
131
],
[
131,
132
],
[
127,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
133,
139
],
[
139,
140
],
[
127,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
144,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
143,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
0,
168
],
[
168,
169
],
[
168,
170
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author HussienMoustafa\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 s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\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 }\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"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 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 s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\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 }\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 s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, Scanner s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }",
"solve",
"{\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }",
"String word1 = s.next()",
"word1",
"s.next()",
"s.next",
"s",
"word2 = s.next();",
"word2",
"s.next()",
"s.next",
"s",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < word1.length()",
"i",
"word1.length()",
"word1.length",
"word1",
"i++",
"i++",
"i",
"{\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }",
"{\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }",
"if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;",
"i < word2.length()",
"i",
"word2.length()",
"word2.length",
"word2",
"{\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n }",
"if (word1.charAt(i) != word2.charAt(i)) cnt++;",
"word1.charAt(i) != word2.charAt(i)",
"word1.charAt(i)",
"word1.charAt",
"word1",
"i",
"word2.charAt(i)",
"word2.charAt",
"word2",
"i",
"cnt++",
"cnt",
"cnt++",
"cnt",
"sout.println(cnt)",
"sout.println",
"sout",
"cnt",
"int testNumber",
"testNumber",
"Scanner s",
"s",
"PrintWriter sout",
"sout",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\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 }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() {\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 }",
"next",
"{\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 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 s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\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 }\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 s, PrintWriter sout) {\n String word1 = s.next(), word2 = s.next();\n int cnt = 0;\n for (int i = 0; i < word1.length(); i++) {\n if (i < word2.length()) {\n if (word1.charAt(i) != word2.charAt(i)) cnt++;\n } else cnt++;\n }\n sout.println(cnt);\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\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 }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author HussienMoustafa
*/
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 s, PrintWriter sout) {
String word1 = s.next(), word2 = s.next();
int cnt = 0;
for (int i = 0; i < word1.length(); i++) {
if (i < word2.length()) {
if (word1.charAt(i) != word2.charAt(i)) cnt++;
} else cnt++;
}
sout.println(cnt);
}
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public String next() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
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,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
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,
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
],
[
250,
8
],
[
250,
9
],
[
9,
10
],
[
250,
11
],
[
11,
12
],
[
11,
13
],
[
250,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
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
],
[
16,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
250,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
63,
88
],
[
88,
89
],
[
88,
90
],
[
63,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
102,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
108,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
107,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
61,
127
],
[
127,
128
],
[
250,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
132,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
142,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
131,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
250,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
250,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
250,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
250,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
195,
197
],
[
190,
198
],
[
198,
199
],
[
199,
200
],
[
190,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
185,
208
],
[
208,
209
],
[
183,
210
],
[
210,
211
],
[
250,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
250,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
227,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
222,
245
],
[
245,
246
],
[
220,
247
],
[
247,
248
],
[
0,
249
],
[
249,
250
],
[
249,
251
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}",
"String S = next();",
"S",
"next()",
"next",
"String T = next();",
"T",
"next()",
"next",
"int result = 0;",
"result",
"0",
"for(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\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))result++;\n\t\t}",
"{\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}",
"if(S.charAt(i) != T.charAt(i))result++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tString S = next();\n\t\tString T = next();\n\t\tint result = 0;\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) != T.charAt(i))result++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
String S = next();
String T = next();
int result = 0;
for(int i = 0; i < S.length(); i++) {
if(S.charAt(i) != T.charAt(i))result++;
}
System.out.println(result);
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
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,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
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
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
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
],
[
56,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 0;",
"ans",
"0",
"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",
"for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < s.length",
"cnt",
"s.length",
"s",
"s.length",
"cnt++",
"cnt++",
"cnt",
"{\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"{\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"if (s[cnt] != t[cnt]) {\n ans++;\n }",
"s[cnt] != t[cnt]",
"s[cnt]",
"s",
"cnt",
"t[cnt]",
"t",
"cnt",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int ans = 0;
char[] s = sc.nextLine().toCharArray();
char[] t = sc.nextLine().toCharArray();
for (int cnt = 0; cnt < s.length; cnt++) {
if (s[cnt] != t[cnt]) {
ans++;
}
}
System.out.println(ans);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
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,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
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,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
40,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
40,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
18,
13,
13,
13,
13,
30,
0,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
18,
13,
13,
41,
13,
17,
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,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
23,
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
],
[
422,
11
],
[
422,
12
],
[
12,
13
],
[
422,
14
],
[
14,
15
],
[
422,
16
],
[
16,
17
],
[
422,
18
],
[
18,
19
],
[
18,
20
],
[
422,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
422,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
51,
67
],
[
67,
68
],
[
422,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
422,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
422,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
422,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
98,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
98,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
125,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
98,
145
],
[
145,
146
],
[
96,
147
],
[
147,
148
],
[
96,
149
],
[
149,
150
],
[
422,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
153,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
153,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
172,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
181,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
180,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
153,
202
],
[
202,
203
],
[
151,
204
],
[
204,
205
],
[
151,
206
],
[
206,
207
],
[
422,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
219,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
218,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
218,
239
],
[
239,
240
],
[
239,
241
],
[
210,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
208,
246
],
[
246,
247
],
[
208,
248
],
[
248,
249
],
[
422,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
252,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
260,
263
],
[
263,
264
],
[
263,
265
],
[
250,
266
],
[
266,
267
],
[
250,
268
],
[
268,
269
],
[
422,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
283,
285
],
[
280,
286
],
[
286,
287
],
[
272,
288
],
[
288,
289
],
[
270,
290
],
[
290,
291
],
[
422,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
294,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
294,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
309,
311
],
[
294,
312
],
[
312,
313
],
[
312,
314
],
[
294,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
315,
320
],
[
320,
321
],
[
320,
322
],
[
315,
323
],
[
323,
324
],
[
324,
325
],
[
315,
326
],
[
327,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
333,
334
],
[
333,
335
],
[
328,
336
],
[
336,
337
],
[
294,
338
],
[
338,
339
],
[
339,
340
],
[
338,
341
],
[
422,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
348,
349
],
[
348,
350
],
[
344,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
344,
356
],
[
356,
357
],
[
344,
358
],
[
358,
359
],
[
359,
360
],
[
344,
361
],
[
361,
362
],
[
362,
363
],
[
422,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
364,
370
],
[
370,
371
],
[
422,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
372,
376
],
[
376,
377
],
[
372,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
384,
385
],
[
384,
386
],
[
378,
387
],
[
387,
388
],
[
378,
389
],
[
389,
390
],
[
372,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
395,
399
],
[
399,
400
],
[
399,
401
],
[
394,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
407,
408
],
[
407,
409
],
[
393,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
415
],
[
415,
416
],
[
415,
417
],
[
391,
418
],
[
418,
419
],
[
372,
420
],
[
0,
421
],
[
421,
422
],
[
421,
423
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\npublic class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"Main",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"int mod= 1000000007;",
"mod",
"1000000007",
"String ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"ns",
"{\n while (st == null || !st.hasMoreElements()) {\n \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 \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 \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",
"String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }",
"catch (IOException e) {\n throw new Exception(e.toString());\n }",
"IOException e",
"{\n throw new Exception(e.toString());\n }",
"throw new Exception(e.toString());",
"new Exception(e.toString())",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"int nextInt() {\n return Integer.parseInt(ns());\n }",
"nextInt",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"long nextLong() {\n return Long.parseLong(ns());\n }",
"nextLong",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"double nextDouble() {\n return Double.parseDouble(ns());\n }",
"nextDouble",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"int upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"upperBound",
"{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"int l=0",
"l",
"0",
"r=a.length-1;",
"r",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"int i=-1;",
"i",
"-1",
"1",
"while(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}",
"l<=r",
"l",
"r",
"{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}",
"int mid=(l+r)/2;",
"mid",
"(l+r)/2",
"(l+r)",
"l",
"r",
"2",
"if(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}",
"a[mid]<key",
"a[mid]",
"a",
"mid",
"key",
"l=mid+1",
"l",
"mid+1",
"mid",
"1",
"{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}",
"i=mid",
"i",
"mid",
"r=mid-1",
"r",
"mid-1",
"mid",
"1",
"return i;",
"i",
"long a[]",
"a",
"long key",
"key",
"int lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"lowerBound",
"{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"int l = 0",
"l",
"0",
"r = a.length- 1;",
"r",
"a.length- 1",
"a.length",
"a",
"a.length",
"1",
"int i = -1;",
"i",
"-1",
"1",
"while(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}",
"l<=r",
"l",
"r",
"{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}",
"int mid=(l+r)/2;",
"mid",
"(l+r)/2",
"(l+r)",
"l",
"r",
"2",
"if(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;",
"a[mid].f<key",
"a[mid].f",
"a[mid]",
"a",
"mid",
"a[mid].f",
"key",
"{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}",
"i=mid",
"i",
"mid",
"l=mid+1",
"l",
"mid+1",
"mid",
"1",
"r=mid-1",
"r",
"mid-1",
"mid",
"1",
"return i;",
"i",
"Pair[] a",
"a",
"long key",
"key",
"long power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}",
"power",
"{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}",
"long ans=1;",
"ans",
"1",
"while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }",
"y!=0",
"y",
"0",
"{\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }",
"if(y%2==1) ans=(ans*x)%mod;",
"y%2==1",
"y%2",
"y",
"2",
"1",
"ans=(ans*x)%mod",
"ans",
"(ans*x)%mod",
"(ans*x)",
"ans",
"x",
"mod",
"x=(x*x)%mod",
"x",
"(x*x)%mod",
"(x*x)",
"x",
"x",
"mod",
"y/=2",
"y",
"2",
"return ans%mod;",
"ans%mod",
"ans",
"mod",
"long x",
"x",
"long y",
"y",
"long gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}",
"gcd",
"{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}",
"if(y==0)\n\t\t\treturn x;",
"y==0",
"y",
"0",
"return x;",
"x",
"return gcd(y,x%y);",
"gcd(y,x%y)",
"gcd",
"y",
"x%y",
"x",
"y",
"long x",
"x",
"long y",
"y",
"int countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }",
"countSetBits",
"{ \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }",
"int count = 0;",
"count",
"0",
"while (n > 0) { \n n &= (n - 1); \n count++; \n }",
"n > 0",
"n",
"0",
"{ \n n &= (n - 1); \n count++; \n }",
"n &= (n - 1)",
"n",
"(n - 1)",
"n",
"1",
"count++",
"count",
"return count;",
"count",
"long n",
"n",
"void solve() throws IOException{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}",
"solve",
"{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}",
"char s[] = ns().toCharArray();",
"s",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"char t[] = ns().toCharArray();",
"t",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"int n = s.length;",
"n",
"s.length",
"s",
"s.length",
"int cnt = 0;",
"cnt",
"0",
"for(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}",
"{\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}",
"if(s[i] != t[i])\n\t\t\t\tcnt++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"cnt++",
"cnt",
"out.println(cnt)",
"out.println",
"out",
"cnt",
"void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}",
"run",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"public static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String args[]",
"args",
"class Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}",
"Pair",
"int f;",
"f",
"int s;",
"s",
"Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }",
"Pair",
"{\n\t f = t;\n\t s = r;\n\t }",
"f = t",
"f",
"t",
"s = r",
"s",
"r",
"int t",
"t",
"int r",
"r",
"public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }",
"compareTo",
"{\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }",
"if(this.f!=p.f)\n\t \t\treturn this.f-p.f;",
"this.f!=p.f",
"this.f",
"this",
"this.f",
"p.f",
"p",
"p.f",
"return this.f-p.f;",
"this.f-p.f",
"this.f",
"this",
"this.f",
"p.f",
"p",
"p.f",
"return this.s-p.s;",
"this.s-p.s",
"this.s",
"this",
"this.s",
"p.s",
"p",
"p.s",
"Pair p",
"p",
"Comparable",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tchar s[] = ns().toCharArray();\n\t\tchar t[] = ns().toCharArray();\n\t\tint n = s.length;\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(s[i] != t[i])\n\t\t\t\tcnt++;\n\t\t}\n\t\tout.println(cnt);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.lang.*;
public class Main {
PrintWriter out;
StringTokenizer st;
BufferedReader br;
class Pair implements Comparable<Pair>
{
int f;
int s;
Pair(int t, int r) {
f = t;
s = r;
}
public int compareTo(Pair p)
{
if(this.f!=p.f)
return this.f-p.f;
return this.s-p.s;
}
}
// class Sort implements Comparator<String>
// {
// public int compare(String a, String b)
// {
// return (a+b).compareTo(b+a);
// }
// }
String ns() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
String nextLine() throws Exception {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
throw new Exception(e.toString());
}
return str;
}
int nextInt() {
return Integer.parseInt(ns());
}
long nextLong() {
return Long.parseLong(ns());
}
double nextDouble() {
return Double.parseDouble(ns());
}
int upperBound(long a[],long key)
{
int l=0,r=a.length-1;
int i=-1;
while(l<=r)
{
int mid=(l+r)/2;
if(a[mid]<key)
l=mid+1;
else{
i=mid;
r=mid-1;
}
}
return i;
}
int lowerBound(Pair[] a , long key)
{
int l = 0, r = a.length- 1;
int i = -1;
while(l<=r)
{
int mid=(l+r)/2;
if(a[mid].f<key)
{
i=mid;
l=mid+1;
}
else
r=mid-1;
}
return i;
}
long power(long x,long y)
{
long ans=1;
while(y!=0)
{
if(y%2==1) ans=(ans*x)%mod;
x=(x*x)%mod;
y/=2;
}
return ans%mod;
}
int mod= 1000000007;
long gcd(long x ,long y)
{
if(y==0)
return x;
return gcd(y,x%y);
}
// ArrayList a[];
// int vis[],cnt=0;
// void dfs(int ver)
// {
// ArrayList<Integer> l=a[ver];
// if(l.size()==1)
// cnt++;
// for(int v:l)
// {
// if(vis[v]==0){
// vis[v]=vis[ver]+1;
// dfs(v);
// }
// }
// }
int countSetBits(long n)
{
int count = 0;
while (n > 0) {
n &= (n - 1);
count++;
}
return count;
}
void solve() throws IOException{
char s[] = ns().toCharArray();
char t[] = ns().toCharArray();
int n = s.length;
int cnt = 0;
for(int i = 0; i < n; i++){
if(s[i] != t[i])
cnt++;
}
out.println(cnt);
}
void run() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
long s = System.currentTimeMillis();
solve();
out.flush();
out.close();
}
public static void main(String args[]) throws IOException {
new Main().run();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
2,
2,
2,
17,
17,
17,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
12,
13,
30,
41,
13,
4,
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,
13,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
2,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
20,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
311,
8
],
[
311,
9
],
[
9,
10
],
[
311,
11
],
[
11,
12
],
[
311,
13
],
[
13,
14
],
[
311,
15
],
[
15,
16
],
[
311,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
21,
21
],
[
21,
22
],
[
21,
23
],
[
21,
24
],
[
19,
25
],
[
311,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
28,
32
],
[
28,
33
],
[
311,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
36,
41
],
[
311,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
57,
58
],
[
57,
59
],
[
44,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
44,
86
],
[
86,
87
],
[
86,
88
],
[
311,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
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
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
109,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
109,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
109,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
89,
138
],
[
138,
139
],
[
311,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
140,
147
],
[
147,
148
],
[
311,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
149,
156
],
[
156,
157
],
[
311,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
160,
167
],
[
167,
168
],
[
160,
169
],
[
169,
170
],
[
170,
171
],
[
311,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
172,
176
],
[
176,
177
],
[
311,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
190,
191
],
[
190,
192
],
[
185,
193
],
[
193,
194
],
[
194,
195
],
[
185,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
180,
203
],
[
203,
204
],
[
178,
205
],
[
205,
206
],
[
311,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
214,
222
],
[
222,
223
],
[
223,
224
],
[
214,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
209,
232
],
[
232,
233
],
[
207,
234
],
[
234,
235
],
[
311,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
239,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
249,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
238,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
311,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
269,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
311,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
287,
290
],
[
290,
291
],
[
311,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
299,
300
],
[
311,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
305,
308
],
[
308,
309
],
[
0,
310
],
[
310,
311
],
[
310,
312
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n// Template for atcoder\npublic class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main",
"BufferedReader br;",
"br",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"boolean eof;",
"eof",
"final long MOD = 1000L * 1000L * 1000L + 7;",
"MOD",
"1000L * 1000L * 1000L + 7",
"1000L * 1000L * 1000L",
"1000L * 1000L * 1000L",
"1000L",
"1000L",
"1000L",
"7",
"private static final int[] dx = {0, -1, 0, 1};",
"dx",
"{0, -1, 0, 1}",
"0",
"-1",
"1",
"0",
"1",
"private static final int[] dy = {1, 0, -1, 0};",
"dy",
"{1, 0, -1, 0}",
"1",
"0",
"-1",
"1",
"0",
"void solve() throws IOException {\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }",
"solve",
"{\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }",
"char[] a = nextString().toCharArray();",
"a",
"nextString().toCharArray()",
"nextString().toCharArray",
"nextString()",
"nextString",
"char[] b = nextString().toCharArray();",
"b",
"nextString().toCharArray()",
"nextString().toCharArray",
"nextString()",
"nextString",
"int res = 0;",
"res",
"0",
"for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\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]) {\n res++;\n }\n }",
"{\n if (a[i] != b[i]) {\n res++;\n }\n }",
"if (a[i] != b[i]) {\n res++;\n }",
"a[i] != b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"{\n res++;\n }",
"res++",
"res",
"outln(res)",
"outln",
"res",
"void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"shuffle",
"{\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int r = i + (int) (Math.random() * (n - i));",
"r",
"i + (int) (Math.random() * (n - i))",
"i",
"(int) (Math.random() * (n - i))",
"Math.random()",
"Math.random",
"Math",
"(n - i)",
"n",
"i",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = tmp",
"a[r]",
"a",
"r",
"tmp",
"int[] a",
"a",
"private void outln(Object o) {\n out.println(o);\n }",
"outln",
"{\n out.println(o);\n }",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"private void out(Object o) {\n out.print(o);\n }",
"out",
"{\n out.print(o);\n }",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"Main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"nextLongArr",
"{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextLong();",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"nextIntArr",
"{\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextInt();",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }",
"catch (Exception e) {\n eof = true;\n return null;\n }",
"Exception e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"nextString",
"{\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }",
"catch (IOException e) {\n eof = true;\n return null;\n }",
"IOException e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n char[] a = nextString().toCharArray();\n char[] b = nextString().toCharArray();\n int res = 0;\n for (int i = 0; i < a.length; i++) {\n if (a[i] != b[i]) {\n res++;\n }\n }\n outln(res);\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
// Template for atcoder
public class Main {
BufferedReader br;
PrintWriter out;
StringTokenizer st;
boolean eof;
final long MOD = 1000L * 1000L * 1000L + 7;
private static final int[] dx = {0, -1, 0, 1};
private static final int[] dy = {1, 0, -1, 0};
void solve() throws IOException {
char[] a = nextString().toCharArray();
char[] b = nextString().toCharArray();
int res = 0;
for (int i = 0; i < a.length; i++) {
if (a[i] != b[i]) {
res++;
}
}
outln(res);
}
void shuffle(int[] a) {
int n = a.length;
for(int i = 0; i < n; i++) {
int r = i + (int) (Math.random() * (n - i));
int tmp = a[i];
a[i] = a[r];
a[r] = tmp;
}
}
private void outln(Object o) {
out.println(o);
}
private void out(Object o) {
out.print(o);
}
public Main() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
out.close();
}
public static void main(String[] args) throws IOException {
new Main();
}
public long[] nextLongArr(int n) throws IOException{
long[] res = new long[n];
for(int i = 0; i < n; i++)
res[i] = nextLong();
return res;
}
public int[] nextIntArr(int n) throws IOException {
int[] res = new int[n];
for(int i = 0; i < n; i++)
res[i] = nextInt();
return res;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
eof = true;
return null;
}
}
return st.nextToken();
}
public String nextString() {
try {
return br.readLine();
} catch (IOException e) {
eof = true;
return null;
}
}
public int nextInt() throws IOException {
return Integer.parseInt(nextToken());
}
public long nextLong() throws IOException {
return Long.parseLong(nextToken());
}
public double nextDouble() throws IOException {
return Double.parseDouble(nextToken());
}
}
|
[
7,
15,
13,
17,
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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \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\t\tString n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \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 n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < n.length()",
"cnt",
"n.length()",
"n.length",
"n",
"cnt++",
"cnt++",
"cnt",
"{\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }",
"{\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }",
"if(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }",
"n.charAt(cnt) != s.charAt(cnt)",
"n.charAt(cnt)",
"n.charAt",
"n",
"cnt",
"s.charAt(cnt)",
"s.charAt",
"s",
"cnt",
"{\n \tcount++;\n }",
"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 n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \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 n = sc.next();\n \tString s = sc.next();\n \tint count = 0;\n \tfor(int cnt = 0;cnt < n.length();cnt++){\n \tif(n.charAt(cnt) != s.charAt(cnt)){\n \tcount++;\n }\n }\n \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);
String n = sc.next();
String s = sc.next();
int count = 0;
for(int cnt = 0;cnt < n.length();cnt++){
if(n.charAt(cnt) != s.charAt(cnt)){
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
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,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
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
],
[
77,
8
],
[
77,
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
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.Scanner;\nimport java.util.regex.Pattern;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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",
"import java.util.regex.Pattern;",
"Pattern",
"java.util.regex",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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[] s = sc.nextLine().split(\"\");",
"s",
"sc.nextLine().split(\"\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"String[] t = sc.nextLine().split(\"\");",
"t",
"sc.nextLine().split(\"\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"sc.close()",
"sc.close",
"sc",
"int size = s.length;",
"size",
"s.length",
"s",
"s.length",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n\t\t\tif (!s[i].equals(t[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (!s[i].equals(t[i])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (!s[i].equals(t[i])) {\n\t\t\t\tcount++;\n\t\t\t}",
"!s[i].equals(t[i])",
"s[i].equals(t[i])",
"s[i].equals",
"s[i]",
"s",
"i",
"t[i]",
"t",
"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[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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[] s = sc.nextLine().split(\"\");\n\t\tString[] t = sc.nextLine().split(\"\");\n\t\tsc.close();\n\t\tint size = s.length;\n\t\tint count = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!s[i].equals(t[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;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] s = sc.nextLine().split("");
String[] t = sc.nextLine().split("");
sc.close();
int size = s.length;
int count = 0;
for (int i = 0; i < size; i++) {
if (!s[i].equals(t[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,
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,
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
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}\n\n}",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String k = s.next();",
"k",
"s.next()",
"s.next",
"s",
"String m = s.next();",
"m",
"s.next()",
"s.next",
"s",
"int n = k.length()",
"n",
"k.length()",
"k.length",
"k",
"ctr=0;",
"ctr",
"0",
"for(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}",
"if(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}",
"k.charAt(i)!=m.charAt(i)",
"k.charAt(i)",
"k.charAt",
"k",
"i",
"m.charAt(i)",
"m.charAt",
"m",
"i",
"{\n\t\t\t\tctr++;\n\t\t\t}",
"ctr++",
"ctr",
"System.out.println(ctr)",
"System.out.println",
"System.out",
"System",
"System.out",
"ctr",
"String[] args",
"args",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}\n\n}",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString k = s.next();\n\t\tString m = s.next();\n\t\t\n\t\tint n = k.length(),ctr=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(k.charAt(i)!=m.charAt(i)) {\n\t\t\t\tctr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ctr);\n\t}\n\n}",
"Main"
]
| import java.util.HashMap;
import java.util.HashSet;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String k = s.next();
String m = s.next();
int n = k.length(),ctr=0;
for(int i=0;i<n;i++) {
if(k.charAt(i)!=m.charAt(i)) {
ctr++;
}
}
System.out.println(ctr);
}
}
|
[
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,
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
],
[
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
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\n//import java.util.Arrays;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.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 a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"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",
"int count = 0;",
"count",
"0",
"for(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\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.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}",
"!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\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 scan = new Scanner(System.in);\n\t\tString a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString a = scan.next();\n\t\tString b = scan.next();\n\t\tint count = 0;\n\t\tfor(int i=0; i<a.length(); i++){\n\t\t\tif(!a.substring(i,i+1).equals(b.substring(i,i+1))){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
//import java.util.Arrays;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String a = scan.next();
String b = scan.next();
int count = 0;
for(int i=0; i<a.length(); i++){
if(!a.substring(i,i+1).equals(b.substring(i,i+1))){
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,
30,
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
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
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 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 \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\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 \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\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 S = sc.next();\n String T = sc.next();\n \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"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 if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\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 ans++;\n }\n }",
"{ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }",
"if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }",
"S.charAt(i)==T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n \n }",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n int ans = 0;\n \n for(int i = 0;i < S.length(); i++){ \n if(S.charAt(i)==T.charAt(i)){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\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 ans = 0;
for(int i = 0;i < S.length(); i++){
if(S.charAt(i)==T.charAt(i)){
}else{
ans++;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
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,
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,
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,
18,
36,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
36,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
465,
8
],
[
465,
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
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
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
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
],
[
465,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
69,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
69,
81
],
[
81,
82
],
[
69,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
83,
91
],
[
91,
92
],
[
69,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
96,
101
],
[
101,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
107,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
95,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
69,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
152,
154
],
[
138,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
138,
168
],
[
168,
169
],
[
168,
170
],
[
138,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
176,
187
],
[
187,
188
],
[
187,
189
],
[
176,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
176,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
138,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
69,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
205,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
205,
219
],
[
219,
220
],
[
219,
221
],
[
205,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
226,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
205,
235
],
[
235,
236
],
[
235,
237
],
[
205,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
238,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
249,
251
],
[
244,
252
],
[
252,
253
],
[
243,
254
],
[
254,
255
],
[
254,
256
],
[
243,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
259,
261
],
[
243,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
205,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
69,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
277,
282
],
[
282,
283
],
[
282,
284
],
[
277,
285
],
[
285,
286
],
[
286,
287
],
[
277,
288
],
[
289,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
295,
296
],
[
272,
297
],
[
297,
298
],
[
270,
299
],
[
299,
300
],
[
69,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
308,
313
],
[
313,
314
],
[
313,
315
],
[
308,
316
],
[
316,
317
],
[
317,
318
],
[
308,
319
],
[
320,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
325
],
[
325,
326
],
[
326,
327
],
[
303,
328
],
[
328,
329
],
[
301,
330
],
[
330,
331
],
[
69,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
334,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
339,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
334,
348
],
[
348,
349
],
[
348,
350
],
[
334,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
351,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
357,
360
],
[
356,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
334,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
69,
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
],
[
380,
382
],
[
382,
383
],
[
371,
384
],
[
384,
385
],
[
384,
386
],
[
371,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
392,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
371,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
69,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
413,
416
],
[
407,
417
],
[
417,
418
],
[
421,
419
],
[
431,
420
],
[
428,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
425
],
[
425,
426
],
[
425,
427
],
[
428,
428
],
[
428,
429
],
[
428,
430
],
[
431,
431
],
[
431,
432
],
[
431,
433
],
[
421,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
405,
438
],
[
438,
439
],
[
69,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
445,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
445,
449
],
[
449,
450
],
[
449,
451
],
[
445,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
440,
456
],
[
456,
457
],
[
69,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
0,
464
],
[
464,
465
],
[
464,
466
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n 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] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\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}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n 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] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\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}",
"Main",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter w = new PrintWriter(System.out);",
"w",
"new PrintWriter(System.out)",
"char[] s = in.readString().toCharArray();",
"s",
"in.readString().toCharArray()",
"in.readString().toCharArray",
"in.readString()",
"in.readString",
"in",
"char[] t = in.readString().toCharArray();",
"t",
"in.readString().toCharArray()",
"in.readString().toCharArray",
"in.readString()",
"in.readString",
"in",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\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 cnt++;\n }",
"{\n if (s[i] != t[i])\n cnt++;\n }",
"if (s[i] != t[i])\n cnt++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"cnt++",
"cnt",
"w.println(cnt)",
"w.println",
"w",
"cnt",
"w.close()",
"w.close",
"w",
"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] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\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 }",
"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] = this.nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.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] = this.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextInt();\n }",
"{\n a[i] = this.nextInt();\n }",
"a[i] = this.nextInt()",
"a[i]",
"a",
"i",
"this.nextInt()",
"this.nextInt",
"this",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }",
"nextLongArray",
"{\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }",
"long a[] = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextLong();\n }",
"{\n a[i] = this.nextLong();\n }",
"a[i] = this.nextLong()",
"a[i]",
"a",
"i",
"this.nextLong()",
"this.nextLong",
"this",
"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",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n 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] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\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}",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n char[] s = in.readString().toCharArray();\n char[] t = in.readString().toCharArray();\n int cnt = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n cnt++;\n }\n w.println(cnt);\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n 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] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\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}",
"Main"
]
|
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
PrintWriter w = new PrintWriter(System.out);
char[] s = in.readString().toCharArray();
char[] t = in.readString().toCharArray();
int cnt = 0;
for (int i = 0; i < s.length; i++) {
if (s[i] != t[i])
cnt++;
}
w.println(cnt);
w.close();
}
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] = this.nextInt();
}
return a;
}
public long[] nextLongArray(int n) {
long a[] = new long[n];
for (int i = 0; i < n; i++) {
a[i] = this.nextLong();
}
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);
}
}
} |
[
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
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\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\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\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",
"String[] ss = S.split(\"\");",
"ss",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] tt = T.split(\"\");",
"tt",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int res = 0;",
"res",
"0",
"for (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\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\tres++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}",
"if (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}",
"!ss[i].equals(tt[i])",
"ss[i].equals(tt[i])",
"ss[i].equals",
"ss[i]",
"ss",
"i",
"tt[i]",
"tt",
"i",
"{\n\t\t\t\tres++;\n\t\t\t}",
"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 Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString[] ss = S.split(\"\");\n\t\tString[] tt = T.split(\"\");\n\t\tint res = 0;\n\t\tfor (int i = 0; i < ss.length; i++) {\n\t\t\tif (!ss[i].equals(tt[i])) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
String[] ss = S.split("");
String[] tt = T.split("");
int res = 0;
for (int i = 0; i < ss.length; i++) {
if (!ss[i].equals(tt[i])) {
res++;
}
}
System.out.println(res);
}
} |
[
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,
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,
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,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
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,
30,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
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,
30,
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,
40,
4,
13,
13,
30,
37,
20,
42,
17,
30,
14,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
18,
13,
13,
13,
30,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
332,
11
],
[
332,
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
],
[
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
],
[
59,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
69,
76
],
[
76,
77
],
[
76,
78
],
[
69,
80
],
[
80,
81
],
[
80,
82
],
[
69,
83
],
[
83,
84
],
[
83,
85
],
[
69,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
96,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
88,
121
],
[
121,
122
],
[
69,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
126,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
69,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
139,
150
],
[
150,
151
],
[
69,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
152,
163
],
[
163,
164
],
[
69,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
175,
177
],
[
168,
178
],
[
178,
179
],
[
179,
180
],
[
167,
181
],
[
181,
182
],
[
182,
183
],
[
69,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
186,
194
],
[
194,
195
],
[
194,
196
],
[
186,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
186,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
205,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
186,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
69,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
221,
225
],
[
225,
226
],
[
226,
227
],
[
220,
228
],
[
228,
229
],
[
228,
230
],
[
220,
231
],
[
231,
232
],
[
231,
233
],
[
220,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
220,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
220,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
250,
255
],
[
255,
256
],
[
256,
257
],
[
220,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
271,
273
],
[
261,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
275,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
274,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
286,
290
],
[
274,
291
],
[
291,
292
],
[
292,
293
],
[
260,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
69,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
300,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
309,
311
],
[
306,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
312,
316
],
[
305,
317
],
[
317,
318
],
[
318,
319
],
[
300,
320
],
[
320,
321
],
[
69,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
326,
329
],
[
329,
330
],
[
0,
331
],
[
331,
332
],
[
331,
333
]
]
| [
"import java.io.InputStream;\nimport java.io.IOException;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }\n}\n\nclass MyScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int pointer = 0;\n private int bufLength = 0;\n\n private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }\n\n private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }\n\n private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }",
"main",
"{\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }",
"final MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"final char[] sArray = sc.next().toCharArray();",
"sArray",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"final char[] tArray = sc.next().toCharArray();",
"tArray",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int counter = 0;",
"counter",
"0",
"for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sArray.length",
"i",
"sArray.length",
"sArray",
"sArray.length",
"i++",
"i++",
"i",
"{\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }",
"{\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }",
"if (sArray[i] != tArray[i]) {\n counter++;\n }",
"sArray[i] != tArray[i]",
"sArray[i]",
"sArray",
"i",
"tArray[i]",
"tArray",
"i",
"{\n counter++;\n }",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"class MyScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int pointer = 0;\n private int bufLength = 0;\n\n private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }\n\n private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }\n\n private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"MyScanner",
"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 pointer = 0;",
"pointer",
"0",
"private int bufLength = 0;",
"bufLength",
"0",
"private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }",
"pointer < bufLength",
"pointer",
"bufLength",
"{\n return true;\n }",
"return true;",
"true",
"{\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }",
"pointer = 0",
"pointer",
"0",
"try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n bufLength = in.read(buffer);\n }",
"bufLength = in.read(buffer)",
"bufLength",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (bufLength <= 0) {\n return false;\n }",
"bufLength <= 0",
"bufLength",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[pointer++];\n }",
"return buffer[pointer++];",
"buffer[pointer++]",
"buffer",
"pointer++",
"pointer",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }",
"isNumberChar",
"{\n return '0' <= c && c <= '9';\n }",
"return '0' <= c && c <= '9';",
"'0' <= c && c <= '9'",
"'0' <= c",
"'0'",
"c",
"c <= '9'",
"c",
"'9'",
"final int c",
"c",
"private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"final int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }",
"hasNextByte() && !isPrintableChar(buffer[pointer])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[pointer])",
"isPrintableChar(buffer[pointer])",
"isPrintableChar",
"buffer[pointer]",
"buffer",
"pointer",
"{\n pointer++;\n }",
"pointer++",
"pointer",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"final StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long num = 0;",
"num",
"0",
"boolean isNegative = false;",
"isNegative",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n isNegative = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n isNegative = true;\n b = readByte();\n }",
"isNegative = true",
"isNegative",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }",
"!isNumberChar(b)",
"isNumberChar(b)",
"isNumberChar",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }",
"isNumberChar(b)",
"isNumberChar",
"b",
"{\n num *= 10;\n num += b - '0';\n }",
"num *= 10",
"num",
"10",
"num += b - '0'",
"num",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return isNegative ? -num : num;\n }",
"return isNegative ? -num : num;",
"isNegative ? -num : num",
"isNegative",
"-num",
"num",
"num",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }",
"nextInt",
"{\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }",
"final long temp = nextLong();",
"temp",
"nextLong()",
"nextLong",
"if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }",
"temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp",
"temp < Integer.MIN_VALUE",
"temp",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"Integer.MAX_VALUE < temp",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"temp",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) temp;",
"(int) temp",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final char[] sArray = sc.next().toCharArray();\n final char[] tArray = sc.next().toCharArray();\n\n int counter = 0;\n for (int i = 0; i < sArray.length; i++) {\n if (sArray[i] != tArray[i]) {\n counter++;\n }\n }\n\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.io.InputStream;
import java.io.IOException;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
final MyScanner sc = new MyScanner();
final char[] sArray = sc.next().toCharArray();
final char[] tArray = sc.next().toCharArray();
int counter = 0;
for (int i = 0; i < sArray.length; i++) {
if (sArray[i] != tArray[i]) {
counter++;
}
}
System.out.println(counter);
}
}
class MyScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int pointer = 0;
private int bufLength = 0;
private boolean hasNextByte() {
if (pointer < bufLength) {
return true;
} else {
pointer = 0;
try {
bufLength = in.read(buffer);
} catch (final IOException e) {
e.printStackTrace();
}
if (bufLength <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) {
return buffer[pointer++];
} else {
return -1;
}
}
private static boolean isNumberChar(final int c) {
return '0' <= c && c <= '9';
}
private static boolean isPrintableChar(final int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[pointer])) {
pointer++;
}
return hasNextByte();
}
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
final 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 num = 0;
boolean isNegative = false;
int b = readByte();
if (b == '-') {
isNegative = true;
b = readByte();
}
if (!isNumberChar(b)) {
throw new NumberFormatException();
}
while (true) {
if (isNumberChar(b)) {
num *= 10;
num += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return isNegative ? -num : num;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
final long temp = nextLong();
if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {
throw new NumberFormatException();
}
return (int) temp;
}
public double nextDouble() {
return Double.parseDouble(next());
}
}
|
[
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,
4,
13,
13,
13,
23,
13,
12,
13,
30,
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,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
86,
8
],
[
86,
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
],
[
29,
32
],
[
9,
33
],
[
33,
34
],
[
86,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
55,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
37,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
35,
81
],
[
81,
82
],
[
35,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}\n\n\tpublic static void algo(String s,String t) {\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}\n\n\tpublic static void algo(String s,String t) {\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}",
"main",
"{\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s=br.readLine().trim();",
"s",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"String t=br.readLine().trim();",
"t",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"algo(s,t)",
"algo",
"s",
"t",
"String[] args",
"args",
"public static void algo(String s,String t) {\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}",
"algo",
"{\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}",
"int res=0;",
"res",
"0",
"for(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\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 c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}",
"char c1=s.charAt(i);",
"c1",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char c2=t.charAt(i);",
"c2",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}",
"c1!=c2",
"c1",
"c2",
"{\n\t\t\t\tres++;\n\t\t\t}",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String s",
"s",
"String t",
"t",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}\n\n\tpublic static void algo(String s,String t) {\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tString s=br.readLine().trim();\n\tString t=br.readLine().trim();\n\talgo(s,t);\t\n\t\n\t}\n\n\tpublic static void algo(String s,String t) {\n\t\tint res=0;\n\t\tfor(int i=0;i<s.length();i++) {\n\t\t\tchar c1=s.charAt(i);\n\t\t\tchar c2=t.charAt(i);\n\t\t\tif(c1!=c2) {\n\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n\t}\n\t\n\t\n\t\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s=br.readLine().trim();
String t=br.readLine().trim();
algo(s,t);
}
public static void algo(String s,String t) {
int res=0;
for(int i=0;i<s.length();i++) {
char c1=s.charAt(i);
char c2=t.charAt(i);
if(c1!=c2) {
res++;
}
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
17,
0,
13,
20,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
0,
13,
17,
41,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
215,
14
],
[
215,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
215,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
42,
44
],
[
28,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
28,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
215,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
79,
83
],
[
83,
84
],
[
79,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
79,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
97,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
96,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
79,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
116,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
116,
128
],
[
128,
129
],
[
79,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
79,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
79,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
155,
166
],
[
167,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
150,
174
],
[
174,
175
],
[
148,
176
],
[
176,
177
],
[
79,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
190,
191
],
[
190,
192
],
[
185,
193
],
[
193,
194
],
[
194,
195
],
[
185,
196
],
[
197,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
180,
204
],
[
204,
205
],
[
178,
206
],
[
206,
207
],
[
79,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
0,
214
],
[
214,
215
],
[
214,
216
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"main",
"{\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"Main mainObj = new Main();",
"mainObj",
"new Main()",
"mainObj.solve()",
"mainObj.solve",
"mainObj",
"String[] args",
"args",
"public void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"solve",
"{\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"String s = fs.next();",
"s",
"fs.next()",
"fs.next",
"fs",
"String t = fs.next();",
"t",
"fs.next()",
"fs.next",
"fs",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i< s.length(); i++) {\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tans++;\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\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if(s.charAt(i) != t.charAt(i)) {\n\t\t\t\tans++;\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\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}",
"FastScanner",
"BufferedReader reader;",
"reader",
"private StringTokenizer st;",
"st",
"public FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"FastScanner",
"{\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"st = null",
"st",
"null",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"if (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st = new StringTokenizer(reader.readLine())",
"st",
"new StringTokenizer(reader.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"nextLine",
"{\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"st = null",
"st",
"null",
"String readLine = null;",
"readLine",
"null",
"readLine = reader.readLine()",
"readLine",
"reader.readLine()",
"reader.readLine",
"reader",
"return readLine;",
"readLine",
"public int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextIntArr",
"{\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"int[] retArr = new int[n];",
"retArr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"retArr[i] = nextInt()",
"retArr[i]",
"retArr",
"i",
"nextInt()",
"nextInt",
"return retArr;",
"retArr",
"int n",
"n",
"public long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextLongArr",
"{\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"long[] retArr = new long[n];",
"retArr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"retArr[i] = nextLong()",
"retArr[i]",
"retArr",
"i",
"nextLong()",
"nextLong",
"return retArr;",
"retArr",
"int n",
"n",
"public void close() throws IOException {\n\t\t\treader.close();\n\t\t}",
"close",
"{\n\t\t\treader.close();\n\t\t}",
"reader.close()",
"reader.close",
"reader",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\tString s = fs.next();\n\t\tString t = fs.next();\n\t\t\n\t\tint ans = 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\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\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) throws IOException {
Main mainObj = new Main();
mainObj.solve();
}
public void solve() throws IOException {
FastScanner fs = new FastScanner();
String s = fs.next();
String t = fs.next();
int ans = 0;
for(int i = 0; i< s.length(); i++) {
if(s.charAt(i) != t.charAt(i)) {
ans++;
}
}
System.out.println(ans);
}
public class FastScanner {
BufferedReader reader;
private StringTokenizer st;
public FastScanner() {
st = null;
reader = new BufferedReader(new InputStreamReader(System.in));
}
public String next() throws IOException {
if (st == null || !st.hasMoreElements()) {
st = new StringTokenizer(reader.readLine());
}
return st.nextToken();
}
public String nextLine() throws IOException {
st = null;
String readLine = null;
readLine = reader.readLine();
return readLine;
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public int[] nextIntArr(int n) throws NumberFormatException, IOException {
int[] retArr = new int[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextInt();
}
return retArr;
}
public long[] nextLongArr(int n) throws NumberFormatException, IOException {
long[] retArr = new long[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextLong();
}
return retArr;
}
public void close() throws IOException {
reader.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,
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 public static void main(String[] args)\n {\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }",
"Scanner read = new Scanner(System.in);",
"read",
"new Scanner(System.in)",
"String s1 =read.next()",
"s1",
"read.next()",
"read.next",
"read",
"s2=read.next();",
"s2",
"read.next()",
"read.next",
"read",
"int count=0;",
"count",
"0",
"for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\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 {\n continue;\n }\n else {\n count++;\n }\n }",
"{\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }",
"if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }",
"s1.charAt(i) == s2.charAt(i)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(i)",
"s2.charAt",
"s2",
"i",
"{\n continue;\n }",
"continue;",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner read = new Scanner(System.in);\n String s1 =read.next() , s2=read.next();\n int count=0;\n for (int i=0 ; i<s1.length() ; i++)\n {\n if (s1.charAt(i) == s2.charAt(i))\n {\n continue;\n }\n else {\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner read = new Scanner(System.in);
String s1 =read.next() , s2=read.next();
int count=0;
for (int i=0 ; i<s1.length() ; i++)
{
if (s1.charAt(i) == s2.charAt(i))
{
continue;
}
else {
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,
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,
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
],
[
70,
11
],
[
70,
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
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
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
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s1=br.readLine().trim();",
"s1",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"String s2=br.readLine().trim();",
"s2",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"int count=0;",
"count",
"0",
"for(int i=0;i<s1.length();i++)\n\t\t\tif(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tcount++;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"i++",
"i++",
"i",
"if(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tcount++;",
"if(s1.charAt(i)!=s2.charAt(i))\n\t\t\t\tcount++;",
"s1.charAt(i)!=s2.charAt(i)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(i)",
"s2.charAt",
"s2",
"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) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s1=br.readLine().trim();\n\t\tString s2=br.readLine().trim();\n\t\tint count=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\tcount++;\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s1=br.readLine().trim();
String s2=br.readLine().trim();
int count=0;
for(int i=0;i<s1.length();i++)
if(s1.charAt(i)!=s2.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,
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,
0,
13,
2,
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
],
[
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
],
[
63,
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
]
]
| [
"\nimport 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\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(count);\n\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\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(count);\n\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\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\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",
"String[] Sarray = S.split(\"\");",
"Sarray",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] Tarray = T.split(\"\");",
"Tarray",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int count = 0;",
"count",
"0",
"for(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\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(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\n\t\t}",
"if(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}",
"!(Sarray[i].equals(Tarray[i]))",
"(Sarray[i].equals(Tarray[i]))",
"Sarray[i].equals",
"Sarray[i]",
"Sarray",
"i",
"Tarray[i]",
"Tarray",
"i",
"{\n\t\t\t\tcount = count + 1;\n\t\t\t}",
"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\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\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tString[] Sarray = S.split(\"\");\n\t\tString[] Tarray = T.split(\"\");\n\n\t\tint count = 0;\n\t\tfor(int i=0; i<S.length(); i++) {\n\t\t\tif(!(Sarray[i].equals(Tarray[i]))) {\n\t\t\t\tcount = count + 1;\n\t\t\t}\n\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) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
String S = scan.next();
String T = scan.next();
String[] Sarray = S.split("");
String[] Tarray = T.split("");
int count = 0;
for(int i=0; i<S.length(); i++) {
if(!(Sarray[i].equals(Tarray[i]))) {
count = count + 1;
}
}
System.out.println(count);
}
} |
[
7,
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,
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,
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
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
19,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
19,
43
],
[
43,
44
],
[
43,
45
],
[
19,
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
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
19,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }",
"catch(Exception e){\n System.out.println(e);\n }",
"Exception e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \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",
"char charS[] = S.toCharArray();",
"charS",
"S.toCharArray()",
"S.toCharArray",
"S",
"char charT[] = T.toCharArray();",
"charT",
"T.toCharArray()",
"T.toCharArray",
"T",
"int ans = 0;",
"ans",
"0",
"for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }",
"{\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }",
"if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }",
"charS[i] != charT[i]",
"charS[i]",
"charS",
"i",
"charT[i]",
"charT",
"i",
"{\n charS[i] = charT[i];\n ans++;\n }",
"charS[i] = charT[i]",
"charS[i]",
"charS",
"i",
"charT[i]",
"charT",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n char charS[] = S.toCharArray();\n char charT[] = T.toCharArray();\n \n int ans = 0;\n for(int i=0; i<S.length(); i++){\n if(charS[i] != charT[i]){\n charS[i] = charT[i];\n ans++;\n }\n }\n \n System.out.println(ans);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String S = br.readLine();
String T = br.readLine();
char charS[] = S.toCharArray();
char charT[] = T.toCharArray();
int ans = 0;
for(int i=0; i<S.length(); i++){
if(charS[i] != charT[i]){
charS[i] = charT[i];
ans++;
}
}
System.out.println(ans);
}catch(Exception e){
System.out.println(e);
}
}
} |
[
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.*;\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 = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\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 = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\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 = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\n}",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n char[]ss = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\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[]ss = S.toCharArray();",
"ss",
"S.toCharArray()",
"S.toCharArray",
"S",
"char[]tt = T.toCharArray();",
"tt",
"T.toCharArray()",
"T.toCharArray",
"T",
"int cou = 0;",
"cou",
"0",
"for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(ss[i]!=tt[i]){\n cou++;\n }\n }",
"{\n if(ss[i]!=tt[i]){\n cou++;\n }\n }",
"if(ss[i]!=tt[i]){\n cou++;\n }",
"ss[i]!=tt[i]",
"ss[i]",
"ss",
"i",
"tt[i]",
"tt",
"i",
"{\n cou++;\n }",
"cou++",
"cou",
"System.out.println(cou)",
"System.out.println",
"System.out",
"System",
"System.out",
"cou",
"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 = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\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 = S.toCharArray();\n char[]tt = T.toCharArray();\n \n int cou = 0;\n for(int i=0; i<S.length(); i++){\n if(ss[i]!=tt[i]){\n cou++;\n }\n }\n \tSystem.out.println(cou);\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 = S.toCharArray();
char[]tt = T.toCharArray();
int cou = 0;
for(int i=0; i<S.length(); i++){
if(ss[i]!=tt[i]){
cou++;
}
}
System.out.println(cou);
}
} |
[
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,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1=sc.next();",
"str1",
"sc.next()",
"sc.next",
"sc",
"String str2=sc.next();",
"str2",
"sc.next()",
"sc.next",
"sc",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}",
"{\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}",
"if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;",
"str1.charAt(i)!=str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"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\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str1=sc.next();\n\t\tString str2=sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<str1.length();i++){\n\t\t if(str1.charAt(i)!=str2.charAt(i))\n\t\t ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String str1=sc.next();
String str2=sc.next();
int ans=0;
for(int i=0;i<str1.length();i++){
if(str1.charAt(i)!=str2.charAt(i))
ans++;
}
System.out.println(ans);
}
}
|
[
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
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
]
]
| [
"import java.util.*;\nimport java.lang.*;\nclass Main\n{\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 int count=0;\n for(int i=0;i<s.length();i++)\n {\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"class Main\n{\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 int count=0;\n for(int i=0;i<s.length();i++)\n {\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }\n System.out.println(count);\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 int count=0;\n for(int i=0;i<s.length();i++)\n {\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n String t=sc.next();\n int count=0;\n for(int i=0;i<s.length();i++)\n {\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }\n System.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 count=0;",
"count",
"0",
"for(int i=0;i<s.length();i++)\n {\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }",
"{\n char c1=s.charAt(i);\n char c2=t.charAt(i);\n if(c1!=c2)\n count++;\n }",
"char c1=s.charAt(i);",
"c1",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char c2=t.charAt(i);",
"c2",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(c1!=c2)\n count++;",
"c1!=c2",
"c1",
"c2",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args"
]
| import java.util.*;
import java.lang.*;
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 c1=s.charAt(i);
char c2=t.charAt(i);
if(c1!=c2)
count++;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
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,
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
]
| [
[
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
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
7,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
23,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
23,
47
],
[
47,
48
],
[
47,
49
],
[
23,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
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
],
[
23,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
21,
81
],
[
81,
82
]
]
| [
"\timport java.util.*;\n\timport java.util.Map.Entry;\n\t \n\t \n\t class Main {\n\t\t static int mod = (int) (Math.pow(10,9)+7);\n//\t\t static int mod = (int) 998244353;\n\t\t static List<ArrayList<Integer>> list= new ArrayList<ArrayList<Integer>>();\n\t\t public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t String S = sc.next();\n\t char[] s = S.toCharArray();\n\t String T = sc.next();\n\t char[] t = T.toCharArray();\n\t int cnt=0;\n\t for(int i=0;i<s.length;i++) {\n\t \tif(s[i]!=t[i])cnt++;\n\t }\n\t System.out.println(cnt);\n\t\t }\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"class Main {\n\t\t static int mod = (int) (Math.pow(10,9)+7);\n//\t\t static int mod = (int) 998244353;\n\t\t static List<ArrayList<Integer>> list= new ArrayList<ArrayList<Integer>>();\n\t\t public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t String S = sc.next();\n\t char[] s = S.toCharArray();\n\t String T = sc.next();\n\t char[] t = T.toCharArray();\n\t int cnt=0;\n\t for(int i=0;i<s.length;i++) {\n\t \tif(s[i]!=t[i])cnt++;\n\t }\n\t System.out.println(cnt);\n\t\t }\n\t}",
"Main",
"static int mod = (int) (Math.pow(10,9)+7);",
"mod",
"(int) (Math.pow(10,9)+7)",
"Math.pow(10,9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"//\t\t static int mod = (int) 998244353;\n\t\t static List<ArrayList<Integer>> list= new ArrayList<ArrayList<Integer>>();",
"list",
"new ArrayList<ArrayList<Integer>>()",
"public static void main(String[] args) {\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t String S = sc.next();\n\t char[] s = S.toCharArray();\n\t String T = sc.next();\n\t char[] t = T.toCharArray();\n\t int cnt=0;\n\t for(int i=0;i<s.length;i++) {\n\t \tif(s[i]!=t[i])cnt++;\n\t }\n\t System.out.println(cnt);\n\t\t }",
"main",
"{\n\t \t\n\t Scanner sc = new Scanner(System.in);\n\n\t String S = sc.next();\n\t char[] s = S.toCharArray();\n\t String T = sc.next();\n\t char[] t = T.toCharArray();\n\t int cnt=0;\n\t for(int i=0;i<s.length;i++) {\n\t \tif(s[i]!=t[i])cnt++;\n\t }\n\t System.out.println(cnt);\n\t\t }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"char[] s = S.toCharArray();",
"s",
"S.toCharArray()",
"S.toCharArray",
"S",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"char[] t = T.toCharArray();",
"t",
"T.toCharArray()",
"T.toCharArray",
"T",
"int cnt=0;",
"cnt",
"0",
"for(int i=0;i<s.length;i++) {\n\t \tif(s[i]!=t[i])cnt++;\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t \tif(s[i]!=t[i])cnt++;\n\t }",
"{\n\t \tif(s[i]!=t[i])cnt++;\n\t }",
"if(s[i]!=t[i])cnt++;",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args"
]
| import java.util.*;
import java.util.Map.Entry;
class Main {
static int mod = (int) (Math.pow(10,9)+7);
// static int mod = (int) 998244353;
static List<ArrayList<Integer>> list= new ArrayList<ArrayList<Integer>>();
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
char[] s = S.toCharArray();
String T = sc.next();
char[] t = T.toCharArray();
int cnt=0;
for(int i=0;i<s.length;i++) {
if(s[i]!=t[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,
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,
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
],
[
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
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
42,
55
],
[
55,
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;\npublic class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }",
"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",
"int counter = 0;",
"counter",
"0",
"int j = 0;",
"j",
"0",
"for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\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(j))\n counter++;\n j++;\n }",
"{\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }",
"if(s.charAt(i) != t.charAt(j))\n counter++;",
"s.charAt(i) != t.charAt(j)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(j)",
"t.charAt",
"t",
"j",
"counter++",
"counter",
"j++",
"j",
"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) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int counter = 0;\n int j = 0;\n for(int i = 0; i < s.length();i++){\n if(s.charAt(i) != t.charAt(j))\n counter++;\n j++;\n }\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String s = input.next();
String t = input.next();
int counter = 0;
int j = 0;
for(int i = 0; i < s.length();i++){
if(s.charAt(i) != t.charAt(j))
counter++;
j++;
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
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,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
15,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
30,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
9,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
],
[
7,
48
],
[
48,
49
],
[
48,
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
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
48,
73
],
[
73,
74
]
]
| [
"import java.io.*;\nimport java.util.*;\n\n\nclass Main {\n private static int minOperations(String str1, String str2){\n int count = 0;\n for(int i=0;i<str1.length();i++){\n if(str1.charAt(i) != str2.charAt(i)) count++;\n }\n return count;\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String str1 = sc.nextLine();\n String str2 = sc.nextLine();\n \n System.out.println(minOperations(str1,str2));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n private static int minOperations(String str1, String str2){\n int count = 0;\n for(int i=0;i<str1.length();i++){\n if(str1.charAt(i) != str2.charAt(i)) count++;\n }\n return count;\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String str1 = sc.nextLine();\n String str2 = sc.nextLine();\n \n System.out.println(minOperations(str1,str2));\n }\n}",
"Main",
"private static int minOperations(String str1, String str2){\n int count = 0;\n for(int i=0;i<str1.length();i++){\n if(str1.charAt(i) != str2.charAt(i)) count++;\n }\n return count;\n }",
"minOperations",
"{\n int count = 0;\n for(int i=0;i<str1.length();i++){\n if(str1.charAt(i) != str2.charAt(i)) count++;\n }\n return count;\n }",
"int count = 0;",
"count",
"0",
"for(int i=0;i<str1.length();i++){\n if(str1.charAt(i) != str2.charAt(i)) count++;\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)) count++;\n }",
"{\n if(str1.charAt(i) != str2.charAt(i)) count++;\n }",
"if(str1.charAt(i) != str2.charAt(i)) count++;",
"str1.charAt(i) != str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"count++",
"count",
"return count;",
"count",
"String str1",
"str1",
"String str2",
"str2",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String str1 = sc.nextLine();\n String str2 = sc.nextLine();\n \n System.out.println(minOperations(str1,str2));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String str1 = sc.nextLine();\n String str2 = sc.nextLine();\n \n System.out.println(minOperations(str1,str2));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1 = sc.nextLine();",
"str1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String str2 = sc.nextLine();",
"str2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"System.out.println(minOperations(str1,str2))",
"System.out.println",
"System.out",
"System",
"System.out",
"minOperations(str1,str2)",
"minOperations",
"str1",
"str2",
"String[] args",
"args"
]
| import java.io.*;
import java.util.*;
class Main {
private static int minOperations(String str1, String str2){
int count = 0;
for(int i=0;i<str1.length();i++){
if(str1.charAt(i) != str2.charAt(i)) count++;
}
return count;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str1 = sc.nextLine();
String str2 = sc.nextLine();
System.out.println(minOperations(str1,str2));
}
}
|
[
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,
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
],
[
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
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sum = 0;",
"sum",
"0",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"String s[] = S.split(\"\");",
"s",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String t[] = T.split(\"\");",
"t",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\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 sum++;\n }\n }",
"{\n if(!s[i].equals(t[i])){\n sum++;\n }\n }",
"if(!s[i].equals(t[i])){\n sum++;\n }",
"!s[i].equals(t[i])",
"s[i].equals(t[i])",
"s[i].equals",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n sum++;\n }",
"sum++",
"sum",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n String S = sc.next();\n String T = sc.next();\n String s[] = S.split(\"\");\n String t[] = T.split(\"\");\n for(int i=0;i<s.length;i++){\n if(!s[i].equals(t[i])){\n sum++;\n }\n }\n System.out.println(sum);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int sum = 0;
String S = sc.next();
String T = sc.next();
String s[] = S.split("");
String t[] = T.split("");
for(int i=0;i<s.length;i++){
if(!s[i].equals(t[i])){
sum++;
}
}
System.out.println(sum);
}
} |
[
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,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
14,
40,
4,
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
],
[
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
],
[
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
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
39,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
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.Scanner;\n public class Main {\n \t public static void main(String args[]){\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \t public static void main(String args[]){\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}\n }",
"Main",
"public static void main(String args[]){\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}",
"main",
"{\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String a=scanner.next();",
"a",
"scanner.next()",
"scanner.next",
"scanner",
"String b=scanner.next();",
"b",
"scanner.next()",
"scanner.next",
"scanner",
"int n=0;",
"n",
"0",
"for (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}",
"{\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}",
"String str1 = String.valueOf(a.charAt(i));",
"str1",
"String.valueOf(a.charAt(i))",
"String.valueOf",
"String",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"String str2 = String.valueOf(b.charAt(i));",
"str2",
"String.valueOf(b.charAt(i))",
"String.valueOf",
"String",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"if(!(str1.equals(str2))){\n \t \tn=n+1;\n }",
"!(str1.equals(str2))",
"(str1.equals(str2))",
"str1.equals",
"str1",
"str2",
"{\n \t \tn=n+1;\n }",
"n=n+1",
"n",
"n+1",
"n",
"1",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String args[]",
"args",
"public class Main {\n \t public static void main(String args[]){\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}\n }",
"public class Main {\n \t public static void main(String args[]){\n \tScanner scanner = new Scanner(System.in);\n \t\n \tString a=scanner.next();\n \tString b=scanner.next();\n int n=0;\n \t// 変数strの長さ分回す\n \tfor (int i = 0; i < a.length(); i++) {\n \t // strの先頭から1文字ずつString型にして取り出す\n \t String str1 = String.valueOf(a.charAt(i));\n \t String str2 = String.valueOf(b.charAt(i));\n \t if(!(str1.equals(str2))){\n \t \tn=n+1;\n }}\n \t System.out.println(n);\n \n \t}\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();
String b=scanner.next();
int n=0;
// 変数strの長さ分回す
for (int i = 0; i < a.length(); i++) {
// strの先頭から1文字ずつString型にして取り出す
String str1 = String.valueOf(a.charAt(i));
String str2 = String.valueOf(b.charAt(i));
if(!(str1.equals(str2))){
n=n+1;
}}
System.out.println(n);
}
} |
[
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,
30,
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
],
[
53,
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
]
]
| [
"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 s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\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 scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\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 scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"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",
"scan.close()",
"scan.close",
"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\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\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (s.charAt(i) != t.charAt(i)) {\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\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 scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\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 scan = new Scanner(System.in);\n\t\tString s = scan.nextLine();\n\t\tString t = scan.nextLine();\n\t\tscan.close();\n\t\tint count = 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\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 scan = new Scanner(System.in);
String s = scan.nextLine();
String t = scan.nextLine();
scan.close();
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,
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
],
[
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
],
[
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
],
[
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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String S = in.nextLine();",
"S",
"in.nextLine()",
"in.nextLine",
"in",
"String T = in.nextLine();",
"T",
"in.nextLine()",
"in.nextLine",
"in",
"int N = S.length()",
"N",
"S.length()",
"S.length",
"S",
"ans = 0;",
"ans",
"0",
"for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"++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",
"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 in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String S = in.nextLine();\n String T = in.nextLine();\n int N = S.length(), ans = 0;\n for(int i = 0; i < N; ++i){\n if(S.charAt(i) != T.charAt(i)) ++ans;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String S = in.nextLine();
String T = in.nextLine();
int N = S.length(), ans = 0;
for(int i = 0; i < N; ++i){
if(S.charAt(i) != T.charAt(i)) ++ans;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
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,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
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
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"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 i = 0; i < S.length(); i++) {\n\t\t\tif (S.charAt(i) != T.charAt(i))\n\t\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))\n\t\t\t\tc++;\n\t\t}",
"{\n\t\t\tif (S.charAt(i) != T.charAt(i))\n\t\t\t\tc++;\n\t\t}",
"if (S.charAt(i) != T.charAt(i))\n\t\t\t\tc++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\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))\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
String S = sc.nextLine();
String T = sc.nextLine();
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,
6,
13,
12,
13,
30,
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,
30,
40,
13,
9,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
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
],
[
50,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
]
]
| [
"import java.util.*; \n\nclass Main{\n public static void main(String args[]){\n Scanner scn = new Scanner(System.in);\n int count =0;\n String one =scn.next();\n String two =scn.next();\n for(int i=0;i<one.length();i++){\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n } \n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[]){\n Scanner scn = new Scanner(System.in);\n int count =0;\n String one =scn.next();\n String two =scn.next();\n for(int i=0;i<one.length();i++){\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n } \n System.out.println(count);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scn = new Scanner(System.in);\n int count =0;\n String one =scn.next();\n String two =scn.next();\n for(int i=0;i<one.length();i++){\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n } \n System.out.println(count);\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n int count =0;\n String one =scn.next();\n String two =scn.next();\n for(int i=0;i<one.length();i++){\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n } \n System.out.println(count);\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int count =0;",
"count",
"0",
"String one =scn.next();",
"one",
"scn.next()",
"scn.next",
"scn",
"String two =scn.next();",
"two",
"scn.next()",
"scn.next",
"scn",
"for(int i=0;i<one.length();i++){\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<one.length()",
"i",
"one.length()",
"one.length",
"one",
"i++",
"i++",
"i",
"{\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n }",
"{\n if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }\n }",
"if(one.charAt(i)!=two.charAt(i)){\n count++;\n continue;\n }",
"one.charAt(i)!=two.charAt(i)",
"one.charAt(i)",
"one.charAt",
"one",
"i",
"two.charAt(i)",
"two.charAt",
"two",
"i",
"{\n count++;\n continue;\n }",
"count++",
"count",
"continue;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner scn = new Scanner(System.in);
int count =0;
String one =scn.next();
String two =scn.next();
for(int i=0;i<one.length();i++){
if(one.charAt(i)!=two.charAt(i)){
count++;
continue;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
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,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
14,
40,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
41,
13,
2,
13,
4,
18,
13,
2,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
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,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
2,
17,
4,
13,
2,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
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,
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
],
[
459,
11
],
[
459,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
459,
17
],
[
17,
18
],
[
459,
19
],
[
19,
20
],
[
459,
21
],
[
21,
22
],
[
21,
23
],
[
459,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
26,
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
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
53,
63
],
[
63,
64
],
[
26,
65
],
[
65,
66
],
[
65,
67
],
[
459,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
70,
85
],
[
85,
86
],
[
70,
87
],
[
87,
88
],
[
88,
89
],
[
70,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
99,
103
],
[
98,
104
],
[
70,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
68,
110
],
[
110,
111
],
[
459,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
115,
118
],
[
114,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
112,
123
],
[
123,
124
],
[
112,
125
],
[
125,
126
],
[
459,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
133,
141
],
[
141,
142
],
[
142,
143
],
[
133,
144
],
[
145,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
145,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
158,
160
],
[
145,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
165,
167
],
[
145,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
127,
173
],
[
173,
174
],
[
127,
175
],
[
175,
176
],
[
459,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
177,
184
],
[
184,
185
],
[
459,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
186,
193
],
[
193,
194
],
[
459,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
197,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
195,
207
],
[
207,
208
],
[
459,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
459,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
459,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
459,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
459,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
459,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
248,
253
],
[
253,
254
],
[
253,
255
],
[
253,
256
],
[
256,
257
],
[
256,
258
],
[
244,
259
],
[
259,
260
],
[
244,
261
],
[
261,
262
],
[
459,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
267,
272
],
[
272,
273
],
[
272,
274
],
[
272,
275
],
[
275,
276
],
[
275,
277
],
[
263,
278
],
[
278,
279
],
[
263,
280
],
[
280,
281
],
[
459,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
297,
299
],
[
282,
300
],
[
300,
301
],
[
459,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
309,
314
],
[
314,
315
],
[
314,
316
],
[
309,
317
],
[
317,
318
],
[
318,
319
],
[
309,
320
],
[
321,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
326,
327
],
[
304,
328
],
[
328,
329
],
[
302,
330
],
[
330,
331
],
[
459,
332
],
[
332,
333
],
[
332,
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
],
[
334,
358
],
[
358,
359
],
[
332,
360
],
[
360,
361
],
[
459,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
362,
366
],
[
366,
367
],
[
362,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
362,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
374,
380
],
[
380,
381
],
[
362,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
385,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
395,
402
],
[
402,
403
],
[
403,
404
],
[
403,
405
],
[
384,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
362,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
414,
417
],
[
417,
418
],
[
362,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
423,
426
],
[
426,
427
],
[
362,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
432,
435
],
[
435,
436
],
[
362,
437
],
[
437,
438
],
[
437,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
439,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
443,
450
],
[
450,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
454,
455
],
[
439,
456
],
[
456,
457
],
[
0,
458
],
[
458,
459
],
[
458,
460
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\npublic class Main\n{ \n static int MOD = (int)(1e9 + 7);\n public static void process()throws IOException\n {\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}\n \n ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{ \n static int MOD = (int)(1e9 + 7);\n public static void process()throws IOException\n {\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main",
"static int MOD = (int)(1e9 + 7);",
"MOD",
"(int)(1e9 + 7)",
"1e9",
"7",
"static AnotherReader sc;",
"sc",
"static PrintWriter out;",
"out",
"static boolean multipleTC=false;",
"multipleTC",
"false",
"public static void process()throws IOException\n {\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }",
"process",
"{\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }",
"String s=nn();",
"s",
"nn()",
"nn",
"String t=nn();",
"t",
"nn()",
"nn",
"int c=0;",
"c",
"0",
"for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.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)!=t.charAt(i))\n c++;\n }",
"{\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }",
"if(s.charAt(i)!=t.charAt(i))\n c++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"c++",
"c",
"pn(c)",
"pn",
"c",
"public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"main",
"{\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"sc=new AnotherReader()",
"sc",
"new AnotherReader()",
"boolean oj = true;",
"oj",
"true",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"process()",
"process",
"out.flush()",
"out.flush",
"out",
"if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");",
"!oj",
"oj",
"System.out.println(System.currentTimeMillis()-s+\"ms\")",
"System.out.println",
"System.out",
"System",
"System.out",
"System.currentTimeMillis()-s+\"ms\"",
"System.currentTimeMillis()-s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"s",
"\"ms\"",
"System.out.close()",
"System.out.close",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }",
"sort",
"{\n shuffle(arr,n);\n Arrays.sort(arr);\n }",
"shuffle(arr,n)",
"shuffle",
"arr",
"n",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"long arr[]",
"arr",
"int n",
"n",
"static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }",
"shuffle",
"{\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }",
"Random r=new Random();",
"r",
"new Random()",
"for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"{\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"long temp=arr[i];",
"temp",
"arr[i]",
"arr",
"i",
"int pos=i+r.nextInt(n-i);",
"pos",
"i+r.nextInt(n-i)",
"i",
"r.nextInt(n-i)",
"r.nextInt",
"r",
"n-i",
"n",
"i",
"arr[i]=arr[pos]",
"arr[i]",
"arr",
"i",
"arr[pos]",
"arr",
"pos",
"arr[pos]=temp",
"arr[pos]",
"arr",
"pos",
"temp",
"long arr[]",
"arr",
"int n",
"n",
"static void pn(Object o){out.println(o);}",
"pn",
"{out.println(o);}",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"static void p(Object o){out.print(o);}",
"p",
"{out.print(o);}",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"static void pni(Object o){out.println(o);System.out.flush();}",
"pni",
"{out.println(o);System.out.flush();}",
"out.println(o)",
"out.println",
"out",
"o",
"System.out.flush()",
"System.out.flush",
"System.out",
"System",
"System.out",
"Object o",
"o",
"static int ni()throws IOException{return sc.nextInt();}",
"ni",
"{return sc.nextInt();}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl()throws IOException{return sc.nextLong();}",
"nl",
"{return sc.nextLong();}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd()throws IOException{return sc.nextDouble();}",
"nd",
"{return sc.nextDouble();}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String nln()throws IOException{return sc.nextLine();}",
"nln",
"{return sc.nextLine();}",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"static String nn()throws IOException{return sc.next();}",
"nn",
"{return sc.next();}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}",
"bit",
"{return (n==0)?0:(1+bit(n&(n-1)));}",
"return (n==0)?0:(1+bit(n&(n-1)));",
"(n==0)?0:(1+bit(n&(n-1)))",
"(n==0)",
"n",
"0",
"0",
"(1+bit(n&(n-1)))",
"1",
"bit(n&(n-1))",
"bit",
"n&(n-1)",
"n",
"(n-1)",
"n",
"1",
"long n",
"n",
"static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"iarr",
"{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"int[]ARR=new int[N];",
"ARR",
"new int[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=ni();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=ni();}",
"{ARR[i]=ni();}",
"ARR[i]=ni()",
"ARR[i]",
"ARR",
"i",
"ni()",
"ni",
"return ARR;",
"ARR",
"int N",
"N",
"static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"larr",
"{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"long[]ARR=new long[N];",
"ARR",
"new long[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=nl();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=nl();}",
"{ARR[i]=nl();}",
"ARR[i]=nl()",
"ARR[i]",
"ARR",
"i",
"nl()",
"nl",
"return ARR;",
"ARR",
"int N",
"N",
" static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}",
"AnotherReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"AnotherReader",
"{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"br=new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"AnotherReader",
"{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"br = new BufferedReader(new FileReader(\"input.txt\"))",
"br",
"new BufferedReader(new FileReader(\"input.txt\"))",
"int a",
"a",
"String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }",
"catch (IOException e){ e.printStackTrace(); }",
"IOException e",
"{ e.printStackTrace(); }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());}",
"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());}",
"nextInt",
"{\n return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() throws IOException\n {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()throws IOException { return Double.parseDouble(next()); }",
"nextDouble",
"{ return Double.parseDouble(next()); }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"nextLine",
"{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();}",
"catch (IOException e){\n e.printStackTrace();}",
"IOException e",
"{\n e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main\n{ \n static int MOD = (int)(1e9 + 7);\n public static void process()throws IOException\n {\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"public class Main\n{ \n static int MOD = (int)(1e9 + 7);\n public static void process()throws IOException\n {\n String s=nn();\n String t=nn();\n int c=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n }\n pn(c);\n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n \n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
static int MOD = (int)(1e9 + 7);
public static void process()throws IOException
{
String s=nn();
String t=nn();
int c=0;
for(int i=0;i<s.length();i++)
{
if(s.charAt(i)!=t.charAt(i))
c++;
}
pn(c);
}
static AnotherReader sc;
static PrintWriter out;
public static void main(String[]args)throws IOException
{
out = new PrintWriter(System.out);
sc=new AnotherReader();
boolean oj = true;
//oj = System.getProperty("ONLINE_JUDGE") != null;
//if(!oj) sc=new AnotherReader(100);
long s = System.currentTimeMillis();
//int T=ni(); while(T-->0)
process();
out.flush();
if(!oj)
System.out.println(System.currentTimeMillis()-s+"ms");
System.out.close();
}
static void sort(long arr[],int n)
{
shuffle(arr,n);
Arrays.sort(arr);
}
static void shuffle(long arr[],int n)
{
Random r=new Random();
for(int i=0;i<n;i++)
{
long temp=arr[i];
int pos=i+r.nextInt(n-i);
arr[i]=arr[pos];
arr[pos]=temp;
}
}
static void pn(Object o){out.println(o);}
static void p(Object o){out.print(o);}
static void pni(Object o){out.println(o);System.out.flush();}
static int ni()throws IOException{return sc.nextInt();}
static long nl()throws IOException{return sc.nextLong();}
static double nd()throws IOException{return sc.nextDouble();}
static String nln()throws IOException{return sc.nextLine();}
static String nn()throws IOException{return sc.next();}
static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}
static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}
static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}
static boolean multipleTC=false;
/////////////////////////////////////////////////////////////////////////////////////////////////////////
static class AnotherReader{BufferedReader br; StringTokenizer st;
AnotherReader()throws FileNotFoundException{
br=new BufferedReader(new InputStreamReader(System.in));}
AnotherReader(int a)throws FileNotFoundException{
br = new BufferedReader(new FileReader("input.txt"));}
String next()throws IOException{
while (st == null || !st.hasMoreElements()) {try{
st = new StringTokenizer(br.readLine());}
catch (IOException e){ e.printStackTrace(); }}
return st.nextToken(); } int nextInt() throws IOException{
return Integer.parseInt(next());}
long nextLong() throws IOException
{return Long.parseLong(next());}
double nextDouble()throws IOException { return Double.parseDouble(next()); }
String nextLine() throws IOException{ String str = ""; try{
str = br.readLine();} catch (IOException e){
e.printStackTrace();} return str;}}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
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,
4,
18,
18,
13,
13,
2,
13,
17,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
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
],
[
53,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
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 public static void main(String[] args) {\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }",
"main",
"{\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }",
"int ans = 0;",
"ans",
"0",
"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",
"for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < s.length",
"cnt",
"s.length",
"s",
"s.length",
"cnt++",
"cnt++",
"cnt",
"{\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"{\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }",
"if (s[cnt] != t[cnt]) {\n ans++;\n }",
"s[cnt] != t[cnt]",
"s[cnt]",
"s",
"cnt",
"t[cnt]",
"t",
"cnt",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans + \"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"ans + \"\"",
"ans",
"\"\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n int ans = 0;\n Scanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n for (int cnt = 0; cnt < s.length; cnt++) {\n if (s[cnt] != t[cnt]) {\n ans++;\n }\n }\n System.out.println(ans + \"\");\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int ans = 0;
Scanner sc = new Scanner(System.in);
char[] s = sc.next().toCharArray();
char[] t = sc.next().toCharArray();
for (int cnt = 0; cnt < s.length; cnt++) {
if (s[cnt] != t[cnt]) {
ans++;
}
}
System.out.println(ans + "");
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
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,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
314,
23
],
[
314,
24
],
[
24,
25
],
[
314,
26
],
[
26,
27
],
[
314,
28
],
[
28,
29
],
[
28,
30
],
[
314,
31
],
[
31,
32
],
[
314,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
33,
46
],
[
46,
47
],
[
314,
48
],
[
48,
49
],
[
48,
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
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
50,
92
],
[
92,
93
],
[
48,
94
],
[
94,
95
],
[
314,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
98,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
98,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
113,
123
],
[
123,
124
],
[
124,
125
],
[
113,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
133,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
98,
140
],
[
140,
141
],
[
96,
142
],
[
142,
143
],
[
314,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
146,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
146,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
171,
172
],
[
172,
173
],
[
161,
174
],
[
175,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
181,
183
],
[
175,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
146,
188
],
[
188,
189
],
[
144,
190
],
[
190,
191
],
[
314,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
194,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
203,
213
],
[
213,
214
],
[
214,
215
],
[
203,
216
],
[
217,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
221,
222
],
[
222,
223
],
[
221,
224
],
[
194,
225
],
[
225,
226
],
[
192,
227
],
[
227,
228
],
[
314,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
235,
237
],
[
231,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
231,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
231,
250
],
[
250,
251
],
[
250,
252
],
[
231,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
261,
262
],
[
253,
263
],
[
263,
264
],
[
264,
265
],
[
253,
266
],
[
267,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
270,
275
],
[
275,
276
],
[
276,
277
],
[
275,
278
],
[
269,
279
],
[
279,
280
],
[
280,
281
],
[
231,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
282,
287
],
[
229,
288
],
[
288,
289
],
[
314,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
290,
294
],
[
294,
295
],
[
290,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
299,
303
],
[
298,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
296,
309
],
[
309,
310
],
[
296,
311
],
[
311,
312
],
[
0,
313
],
[
313,
314
],
[
313,
315
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.util.*;\nimport java.lang.*;\nimport java.util.*;\nimport java.io.*;\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }\n\t \n\t \t\n\t \t\n\t \t\n",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"Main",
"static int n;",
"n",
"static int b[];",
"b",
"static StringBuffer ans = new StringBuffer(\"\");",
"ans",
"new StringBuffer(\"\")",
"static BufferedReader bf;",
"bf",
"int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}",
"getint",
"{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}",
"int a= Integer.parseInt(sc.readLine());",
"a",
"Integer.parseInt(sc.readLine())",
"Integer.parseInt",
"Integer",
"sc.readLine()",
"sc.readLine",
"sc",
"return a;",
"a",
"BufferedReader sc",
"sc",
"ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistint",
"{\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Integer> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\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\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"int a=Integer.valueOf(ss[i]);",
"a",
"Integer.valueOf(ss[i])",
"Integer.valueOf",
"Integer",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistfl",
"{\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Float> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\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\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"float a=Float.valueOf(ss[i]);",
"a",
"Float.valueOf(ss[i])",
"Float.valueOf",
"Float",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlist",
"{\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Long> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\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\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"long a=Integer.valueOf(ss[i]);",
"a",
"Integer.valueOf(ss[i])",
"Integer.valueOf",
"Integer",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistchar",
"{\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Character> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\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// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }",
"res.add(s.charAt(i))",
"res.add",
"res",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"return res;",
"res",
"BufferedReader sc",
"sc",
"public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }",
"main",
"{\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }",
"Main pra=new Main();",
"pra",
"new Main()",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Character> li=pra.getlistchar(br);",
"li",
"pra.getlistchar(br)",
"pra.getlistchar",
"pra",
"br",
"ArrayList<Character> li2=pra.getlistchar(br);",
"li2",
"pra.getlistchar(br)",
"pra.getlistchar",
"pra",
"br",
"int res=0;",
"res",
"0",
"for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<li.size()",
"i",
"li.size()",
"li.size",
"li",
"i++",
"i++",
"i",
"{\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }",
"{\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }",
"{\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }",
"if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }",
"li.get(i)!=li2.get(i)",
"li.get(i)",
"li.get",
"li",
"i",
"li2.get(i)",
"li2.get",
"li2",
"i",
"{\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }",
"Pair",
"char val;",
"val",
"int cnt;",
"cnt",
"Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }",
"Pair",
"{\n\t this.val=val;\n\t this.cnt=cnt;\n\t }",
"this.val=val",
"this.val",
"this",
"this.val",
"val",
"this.cnt=cnt",
"this.cnt",
"this",
"this.cnt",
"cnt",
"char val",
"val",
"int cnt",
"cnt",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t // long t=Long.parseLong(br.readLine());\n\t \t ArrayList<Character> li=pra.getlistchar(br);\n\t\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t\t \n\t\t\t int res=0;\n\t\t\t for(int i=0;i<li.size();i++)\n\t\t\t {\n\t\t\t\t // for(int j=0;j<li2.size();j++)\n\t\t\t\t {\n\t\t\t\t\t if(li.get(i)!=li2.get(i))\n\t\t\t\t\t {\n\t\t\t\t\t\t res++;\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t }\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"Main"
]
| /* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import java.lang.*;
import java.util.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
int getint(BufferedReader sc) throws java.lang.Exception
{
// String ss=sc.readLine();
int a= Integer.parseInt(sc.readLine());
return a;
}
ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Integer> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
int a=Integer.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Float> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
float a=Float.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Long> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
long a=Integer.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Character> res=new ArrayList<>();
String s=sc.readLine();
// String[] ss=s.split(" ");
for(int i=0;i<s.length();i++)
{
// String ss=sc.readLine();
//char[] a=ss[i].toCharArray();
res.add(s.charAt(i));
}
return res;
}
static int n;
static int b[];
static StringBuffer ans = new StringBuffer("");
static BufferedReader bf;
static class Pair{
char val;int cnt;
Pair(char val,int cnt)
{
this.val=val;
this.cnt=cnt;
}
}
public static void main(String[] args) throws Exception
{
Main pra=new Main();
//Scanner sc = new Scanner(System.in);
// int tc;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
// Scanner in=new Scanner(System.in);
// long t=Long.parseLong(br.readLine());
ArrayList<Character> li=pra.getlistchar(br);
ArrayList<Character> li2=pra.getlistchar(br);
int res=0;
for(int i=0;i<li.size();i++)
{
// for(int j=0;j<li2.size();j++)
{
if(li.get(i)!=li2.get(i))
{
res++;
}
}
}
System.out.println(res);
// long max=Long.MAX_VALUE;
/* while(t-->0){
//int num=Integer.parseInt(br.readLine());
ArrayList<Character> li=pra.getlistchar(br);
ArrayList<Character> li2=pra.getlistchar(br);
int res=0;
for(int i=0;i<li2.size();i++)
{
if(li.contains(li2.get(i)))
res++;
}
System.out.println(res);
}*/
//
}
}
|
[
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
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
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\npublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\n}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\npublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\n}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\n}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\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 cnt = 0;",
"cnt",
"0",
"for(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\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.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }",
"{\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }",
"if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\npublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\n}\n}",
"public class Main {\n\npublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n \t\tString t = scan.next();\n \tint cnt = 0;\n \t\tfor(int i=0; i<s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n cnt++;\n }\n \n }\n \n\t\tSystem.out.println(cnt);\n}\n}",
"Main"
]
| import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
String s = scan.next();
String t = scan.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,
14,
40,
4,
18,
13,
13,
30,
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,
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
],
[
28,
29
],
[
27,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
47,
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
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }\n \n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }",
"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",
"if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }",
"!(s1.equals(s2))",
"(s1.equals(s2))",
"s1.equals",
"s1",
"s2",
"{\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }",
"for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\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\tc++;\n }",
"{\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }",
"if(s1.charAt(i)!=s2.charAt(i))\n\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[] args",
"args",
"public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }\n \n}",
"public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int c=0;\n if(!(s1.equals(s2)))\n {\n for(int i=0;i<s1.length();i++) \n {\n if(s1.charAt(i)!=s2.charAt(i))\n\tc++;\n }\n }\n System.out.println(c); \n }\n \n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
String s1=sc.next();
String s2=sc.next();
int c=0;
if(!(s1.equals(s2)))
{
for(int i=0;i<s1.length();i++)
{
if(s1.charAt(i)!=s2.charAt(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,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
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
],
[
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
],
[
34,
35
],
[
32,
36
],
[
25,
37
],
[
37,
38
],
[
38,
39
],
[
25,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
41,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
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 public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\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.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\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.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\n }\n System.out.println(count);\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 count = 0;",
"count",
"0",
"for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= s.length() - 1",
"i",
"s.length() - 1",
"s.length()",
"s.length",
"s",
"1",
"i++",
"i++",
"i",
"{\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\n }",
"{\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\n }",
"char c = s.charAt(i);",
"c",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char d = t.charAt(i);",
"d",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(c != d) {\n count++;\n }",
"c != d",
"c",
"d",
"{\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 scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\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.nextLine();\n String t = scanner.nextLine();\n int count = 0;\n for (int i = 0; i <= s.length() - 1; i++) {\n char c = s.charAt(i);\n char d = t.charAt(i);\n if(c != d) {\n count++;\n }\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.nextLine();
String t = scanner.nextLine();
int count = 0;
for (int i = 0; i <= s.length() - 1; i++) {
char c = s.charAt(i);
char d = t.charAt(i);
if(c != d) {
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,
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,
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
],
[
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
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
43,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\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",
"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",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n String b = scan.next();\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 System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String a = scan.next();
String b = scan.next();
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++;
}
}
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,
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,
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
],
[
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
],
[
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\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String ss = s.nextLine();",
"ss",
"s.nextLine()",
"s.nextLine",
"s",
"String st = s.nextLine();",
"st",
"s.nextLine()",
"s.nextLine",
"s",
"int count=0;",
"count",
"0",
"char[] sstri= ss.toCharArray();",
"sstri",
"ss.toCharArray()",
"ss.toCharArray",
"ss",
"char[] tstri= st.toCharArray();",
"tstri",
"st.toCharArray()",
"st.toCharArray",
"st",
"for(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<sstri.length",
"i",
"sstri.length",
"sstri",
"sstri.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}",
"sstri[i] != tstri[i]",
"sstri[i]",
"sstri",
"i",
"tstri[i]",
"tstri",
"i",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tString ss = s.nextLine();\n\t\tString st = s.nextLine();\n\t\t\n\t\tint count=0;\n\t\t\n\t\tchar[] sstri= ss.toCharArray();\n\t\tchar[] tstri= st.toCharArray();\n\t\t\n\t\tfor(int i=0;i<sstri.length;i++){\n\t\t\tif(sstri[i] != tstri[i]){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
String ss = s.nextLine();
String st = s.nextLine();
int count=0;
char[] sstri= ss.toCharArray();
char[] tstri= st.toCharArray();
for(int i=0;i<sstri.length;i++){
if(sstri[i] != tstri[i]){
count++;
}
}
System.out.print(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,
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,
40,
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
],
[
88,
5
],
[
88,
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
],
[
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
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
51,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
68,
77
],
[
77,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.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",
"char[] m1 = new char[s.length()];",
"m1",
"new char[s.length()]",
"s.length()",
"s.length",
"s",
"char[] m2 = new char[s.length()];",
"m2",
"new char[s.length()]",
"s.length()",
"s.length",
"s",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }",
"{\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }",
"m1[i] = s.charAt(i)",
"m1[i]",
"m1",
"i",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"m2[i] = t.charAt(i)",
"m2[i]",
"m2",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(!(m1[i] == m2[i]))\n count++;",
"!(m1[i] == m2[i])",
"(m1[i] == m2[i])",
"m1[i]",
"m1",
"i",
"m2[i]",
"m2",
"i",
"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\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n String t = sc.next();\n char[] m1 = new char[s.length()];\n char[] m2 = new char[s.length()];\n int count = 0;\n for(int i = 0; i < s.length(); i++){\n m1[i] = s.charAt(i);\n m2[i] = t.charAt(i);\n if(!(m1[i] == m2[i]))\n count++;\n }\n System.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();
char[] m1 = new char[s.length()];
char[] m2 = new char[s.length()];
int count = 0;
for(int i = 0; i < s.length(); i++){
m1[i] = s.charAt(i);
m2[i] = t.charAt(i);
if(!(m1[i] == m2[i]))
count++;
}
System.out.println(count);
}
} |
[
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,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
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
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(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 Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(n);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(n);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(n);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n=0;",
"n",
"0",
"String str1 = in.next();",
"str1",
"in.next()",
"in.next",
"in",
"String str2 = in.next();",
"str2",
"in.next()",
"in.next",
"in",
"for(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}",
"{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}",
"if(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;",
"str1.charAt(i) != str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"n++",
"n",
"System.out.print(n)",
"System.out.print",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(n);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint n=0;\n\t\tString str1 = in.next();\n\t\tString str2 = in.next();\n\t\tfor(int i=0;i<str1.length();i++)\n\t\t{\n\t\t\tif(str1.charAt(i) != str2.charAt(i))\n\t\t\t\tn++;\n\t\t}\n\t\tSystem.out.print(n);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in = new Scanner(System.in);
int n=0;
String str1 = in.next();
String str2 = in.next();
for(int i=0;i<str1.length();i++)
{
if(str1.charAt(i) != str2.charAt(i))
n++;
}
System.out.print(n);
}
}
|
[
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,
40,
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
],
[
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
],
[
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
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
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.*;\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \n\t\tSystem.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \n\t\tSystem.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \n\t\tSystem.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \n\t\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 = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\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 s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }",
"{\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }",
"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 count++;\n }",
"!(s == t)",
"(s == t)",
"s",
"t",
"{\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\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \n\t\tSystem.out.println(count);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n //文字列Sの取得\n String S = sc.nextLine();\n //文字列Tの取得\n String T = sc.nextLine();\n \n //置き換え回数\n int count = 0;\n \n for (int i = 0; i < S.length(); i++) {\n char s = S.charAt(i);\n char t = T.charAt(i);\n \n if (!(s == t)) {\n count++;\n }\n }\n \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);
//文字列Sの取得
String S = sc.nextLine();
//文字列Tの取得
String T = sc.nextLine();
//置き換え回数
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,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
17,
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
],
[
66,
5
],
[
66,
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
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"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",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"int res = 0;",
"res",
"0",
"for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(a[i] != b[i]) res++;\n }",
"{\n if(a[i] != b[i]) res++;\n }",
"if(a[i] != b[i]) res++;",
"a[i] != b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n char[] a = sc.next().toCharArray();\n char[] b = sc.next().toCharArray();\n int n = a.length;\n int res = 0;\n for(int i=0; i<n; i++) {\n if(a[i] != b[i]) res++;\n }\n\n System.out.println(res);\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);
char[] a = sc.next().toCharArray();
char[] b = sc.next().toCharArray();
int n = a.length;
int res = 0;
for(int i=0; i<n; i++) {
if(a[i] != b[i]) res++;
}
System.out.println(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,
2,
4,
18,
13,
13,
4,
18,
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
],
[
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
],
[
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
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String S = stdIn.next();",
"S",
"stdIn.next()",
"stdIn.next",
"stdIn",
"String T = stdIn.next();",
"T",
"stdIn.next()",
"stdIn.next",
"stdIn",
"int c=0;",
"c",
"0",
"for(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<S.length()",
"a",
"S.length()",
"S.length",
"S",
"a++",
"a++",
"a",
"{\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}",
"if(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}",
"S.charAt(a) != T.charAt(a)",
"S.charAt(a)",
"S.charAt",
"S",
"a",
"T.charAt(a)",
"T.charAt",
"T",
"a",
"{\n\t\t\t\tc++;\n\t\t\t}",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"stdIn.close()",
"stdIn.close",
"stdIn",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString S = stdIn.next();\n\t\tString T = stdIn.next();\n\t\tint c=0;\n\t\tfor(int a=0; a<S.length(); a++){\n\t\t\tif(S.charAt(a) != T.charAt(a)){\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t\tstdIn.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
String S = stdIn.next();
String T = stdIn.next();
int c=0;
for(int a=0; a<S.length(); a++){
if(S.charAt(a) != T.charAt(a)){
c++;
}
}
System.out.println(c);
stdIn.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
4,
18,
13,
2,
13,
4,
18,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
40,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
6,
31
],
[
31,
32
],
[
4,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
58,
68
],
[
68,
69
],
[
57,
70
],
[
70,
71
],
[
57,
72
],
[
72,
73
],
[
35,
74
],
[
74,
75
],
[
33,
76
],
[
76,
77
],
[
33,
78
],
[
78,
79
]
]
| [
"import java.util.*;\n\nclass Main{\n\t\n\tpublic static void main(String args[]){\n\n\t\tScanner src = new Scanner(System.in);\n\n\t\tString s = src.nextLine();\n \tString t = src.nextLine();\n \n \t\n\n\t\tSystem.out.println(solve(s,t));\n\t}\n\n \tpublic static int solve(String s,String t){\n \n int ans = 0;\n \n int i =0;\n int j = 0;\n \n while(i<s.length() && j<t.length()){\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }\n \n return ans;\n \n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\t\n\tpublic static void main(String args[]){\n\n\t\tScanner src = new Scanner(System.in);\n\n\t\tString s = src.nextLine();\n \tString t = src.nextLine();\n \n \t\n\n\t\tSystem.out.println(solve(s,t));\n\t}\n\n \tpublic static int solve(String s,String t){\n \n int ans = 0;\n \n int i =0;\n int j = 0;\n \n while(i<s.length() && j<t.length()){\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }\n \n return ans;\n \n }\n\n}",
"Main",
"public static void main(String args[]){\n\n\t\tScanner src = new Scanner(System.in);\n\n\t\tString s = src.nextLine();\n \tString t = src.nextLine();\n \n \t\n\n\t\tSystem.out.println(solve(s,t));\n\t}",
"main",
"{\n\n\t\tScanner src = new Scanner(System.in);\n\n\t\tString s = src.nextLine();\n \tString t = src.nextLine();\n \n \t\n\n\t\tSystem.out.println(solve(s,t));\n\t}",
"Scanner src = new Scanner(System.in);",
"src",
"new Scanner(System.in)",
"String s = src.nextLine();",
"s",
"src.nextLine()",
"src.nextLine",
"src",
"String t = src.nextLine();",
"t",
"src.nextLine()",
"src.nextLine",
"src",
"System.out.println(solve(s,t))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(s,t)",
"solve",
"s",
"t",
"String args[]",
"args",
"public static int solve(String s,String t){\n \n int ans = 0;\n \n int i =0;\n int j = 0;\n \n while(i<s.length() && j<t.length()){\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }\n \n return ans;\n \n }",
"solve",
"{\n \n int ans = 0;\n \n int i =0;\n int j = 0;\n \n while(i<s.length() && j<t.length()){\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }\n \n return ans;\n \n }",
"int ans = 0;",
"ans",
"0",
"int i =0;",
"i",
"0",
"int j = 0;",
"j",
"0",
"while(i<s.length() && j<t.length()){\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }",
"i<s.length() && j<t.length()",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"j<t.length()",
"j",
"t.length()",
"t.length",
"t",
"{\n \n if(s.charAt(i)!=t.charAt(j))\n ans++;\n \n i++;\n j++;\n \n }",
"if(s.charAt(i)!=t.charAt(j))\n ans++;",
"s.charAt(i)!=t.charAt(j)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(j)",
"t.charAt",
"t",
"j",
"ans++",
"ans",
"i++",
"i",
"j++",
"j",
"return ans;",
"ans",
"String s",
"s",
"String t",
"t"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner src = new Scanner(System.in);
String s = src.nextLine();
String t = src.nextLine();
System.out.println(solve(s,t));
}
public static int solve(String s,String t){
int ans = 0;
int i =0;
int j = 0;
while(i<s.length() && j<t.length()){
if(s.charAt(i)!=t.charAt(j))
ans++;
i++;
j++;
}
return 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,
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,
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
],
[
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
],
[
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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) 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 sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) count++;\n }\n System.out.println(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])) count++;\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])) count++;\n }",
"{\n if (!s[i].equals(t[i])) count++;\n }",
"if (!s[i].equals(t[i])) count++;",
"!s[i].equals(t[i])",
"s[i].equals(t[i])",
"s[i].equals",
"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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.next().split(\"\");\n String[] t = sc.next().split(\"\");\n\n int count = 0;\n for (int i = 0; i < s.length; i++) {\n if (!s[i].equals(t[i])) count++;\n }\n System.out.println(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(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,
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
],
[
88,
5
],
[
88,
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
],
[
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
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
51,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"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\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\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\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\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\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\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\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\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",
"char[] s = new char[S.length()];",
"s",
"new char[S.length()]",
"S.length()",
"S.length",
"S",
"char[] t = new char[T.length()];",
"t",
"new char[T.length()]",
"T.length()",
"T.length",
"T",
"int a = 0;",
"a",
"0",
"for(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\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\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}",
"{\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}",
"s[i] = S.charAt(i)",
"s[i]",
"s",
"i",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"t[i] = T.charAt(i)",
"t[i]",
"t",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n\t\t\t\ta++;\n\t\t\t}",
"a++",
"a",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tchar[] s = new char[S.length()];\n\t\tchar[] t = new char[T.length()];\n\t\tint a = 0;\n\n\t\tfor(int i = 0;i<S.length();i++) {\n\t\t\ts[i] = S.charAt(i);\n\t\t\tt[i] = T.charAt(i);\n\t\t\tif(s[i]!=t[i]) {\n\t\t\t\ta++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\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();
char[] s = new char[S.length()];
char[] t = new char[T.length()];
int a = 0;
for(int i = 0;i<S.length();i++) {
s[i] = S.charAt(i);
t[i] = T.charAt(i);
if(s[i]!=t[i]) {
a++;
}
}
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,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
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
],
[
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
],
[
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
],
[
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
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\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 ans = 0;",
"ans",
"0",
"String[] splitedS = S.split(\"\");",
"splitedS",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] splitedT = T.split(\"\");",
"splitedT",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"for(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\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(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}",
"!(splitedS[i].equals(splitedT[i]))",
"(splitedS[i].equals(splitedT[i]))",
"splitedS[i].equals",
"splitedS[i]",
"splitedS",
"i",
"splitedT[i]",
"splitedT",
"i",
"{\n\t\t\t\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\t\tint ans = 0;\n\n\t\tString[] splitedS = S.split(\"\");\n\t\tString[] splitedT = T.split(\"\");\n\n\t\tfor(int i = 0;i < S.length(); i++) {\n\t\t\tif(!(splitedS[i].equals(splitedT[i]))) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\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 ans = 0;
String[] splitedS = S.split("");
String[] splitedT = T.split("");
for(int i = 0;i < S.length(); i++) {
if(!(splitedS[i].equals(splitedT[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,
17,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
41,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
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
],
[
81,
5
],
[
81,
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
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n String S =sc.next();\n String s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\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.next();\n String s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n String S =sc.next();\n String s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n String S =sc.next();\n String s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S =sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String s[] =S.split(\"\",0);",
"s",
"S.split(\"\",0)",
"S.split",
"S",
"\"\"",
"0",
"String T =sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"String t[] =T.split(\"\",0);",
"t",
"T.split(\"\",0)",
"T.split",
"T",
"\"\"",
"0",
"int N =S.length();",
"N",
"S.length()",
"S.length",
"S",
"int a=N;",
"a",
"N",
"for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if(s[i].equals(t[i])){a=a-1;}}",
"{\n if(s[i].equals(t[i])){a=a-1;}}",
"if(s[i].equals(t[i])){a=a-1;}",
"s[i].equals(t[i])",
"s[i].equals",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{a=a-1;}",
"a=a-1",
"a",
"a-1",
"a",
"1",
"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.next();\n String s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\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 s[] =S.split(\"\",0);\n String T =sc.next();\n String t[] =T.split(\"\",0);\n int N =S.length();\n int a=N;\n for(int i=0;i<N;i++){\n if(s[i].equals(t[i])){a=a-1;}}\n System.out.println(a);\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 s[] =S.split("",0);
String T =sc.next();
String t[] =T.split("",0);
int N =S.length();
int a=N;
for(int i=0;i<N;i++){
if(s[i].equals(t[i])){a=a-1;}}
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,
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;\n\n//クラス名は必ずMainにする必要があります。\n\n\n\npublic class Main {\n public static void main(String args[] ) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\n \t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[] ) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\n \t}\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\n \t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\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[] s_c = s.toCharArray();",
"s_c",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] t_c = t.toCharArray();",
"t_c",
"t.toCharArray()",
"t.toCharArray",
"t",
"int num = 0;",
"num",
"0",
"for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\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_c[i] != t_c[i]){\n num++;\n }\n }",
"{\n if(s_c[i] != t_c[i]){\n num++;\n }\n }",
"if(s_c[i] != t_c[i]){\n num++;\n }",
"s_c[i] != t_c[i]",
"s_c[i]",
"s_c",
"i",
"t_c[i]",
"t_c",
"i",
"{\n num++;\n }",
"num++",
"num",
"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[] ) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\n \t}\n}",
"public class Main {\n public static void main(String args[] ) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n char[] s_c = s.toCharArray();\n char[] t_c = t.toCharArray();\n int num = 0;\n for(int i = 0; i < s.length(); i++){\n if(s_c[i] != t_c[i]){\n num++;\n }\n }\n System.out.println(num);\n \t}\n}",
"Main"
]
| import java.util.Scanner;
//クラス名は必ずMainにする必要があります。
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();
char[] s_c = s.toCharArray();
char[] t_c = t.toCharArray();
int num = 0;
for(int i = 0; i < s.length(); i++){
if(s_c[i] != t_c[i]){
num++;
}
}
System.out.println(num);
}
} |
[
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,
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
],
[
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
],
[
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.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[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.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[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 scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[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 scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"char[] S = scan.next().toCharArray();",
"S",
"scan.next().toCharArray()",
"scan.next().toCharArray",
"scan.next()",
"scan.next",
"scan",
"char[] T = scan.next().toCharArray();",
"T",
"scan.next().toCharArray()",
"scan.next().toCharArray",
"scan.next()",
"scan.next",
"scan",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\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",
"S.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(S[i] != T[i]) {\n\t\t\t\tcount++;\n\t\t\t}",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"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 scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[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 scan = new Scanner(System.in);\n\t\tchar[] S = scan.next().toCharArray();\n\t\tchar[] T = scan.next().toCharArray();\n\t\tint count = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[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.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
char[] S = scan.next().toCharArray();
char[] T = scan.next().toCharArray();
int count = 0;
for(int i = 0; i < S.length; i++) {
if(S[i] != T[i]) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
14,
2,
13,
17,
29,
13,
14,
2,
13,
17,
29,
13,
14,
2,
13,
13,
29,
13,
14,
2,
13,
13,
29,
4,
13,
2,
13,
13,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
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,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
140,
5
],
[
140,
6
],
[
6,
7
],
[
6,
8
],
[
140,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
9,
48
],
[
48,
49
],
[
9,
50
],
[
50,
51
],
[
140,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
52,
63
],
[
63,
64
],
[
52,
65
],
[
65,
66
],
[
140,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
67,
78
],
[
78,
79
],
[
67,
80
],
[
80,
81
],
[
140,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
84,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
84,
98
],
[
98,
99
],
[
98,
100
],
[
84,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
101,
111
],
[
111,
112
],
[
112,
113
],
[
101,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
116,
126
],
[
126,
127
],
[
84,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
84,
134
],
[
134,
135
],
[
135,
136
],
[
82,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
]
| [
"\nimport java.util.*;\n\npublic class Main\n{\n\n private final static int MOD = 1_000_000_007;\n\n public static int gcd(int a, int b) { \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }\n \n public static long mod(long a, long b) {\n return ((a % b) + b ) % b;\n }\n\n public static int mod (int a, int b) {\n return ((a % b) + b ) % b;\n }\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\n private final static int MOD = 1_000_000_007;\n\n public static int gcd(int a, int b) { \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }\n \n public static long mod(long a, long b) {\n return ((a % b) + b ) % b;\n }\n\n public static int mod (int a, int b) {\n return ((a % b) + b ) % b;\n }\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }\n}",
"Main",
"private final static int MOD = 1_000_000_007;",
"MOD",
"1_000_000_007",
"public static int gcd(int a, int b) { \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }",
"gcd",
"{ \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }",
"if (a == 0) \n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"if (b == 0) \n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"if (a == b) \n return a;",
"a == b",
"a",
"b",
"return a;",
"a",
"if (a > b) \n return gcd(a-b, b);",
"a > b",
"a",
"b",
"return gcd(a-b, b);",
"gcd(a-b, b)",
"gcd",
"a-b",
"a",
"b",
"b",
"return gcd(a, b-a);",
"gcd(a, b-a)",
"gcd",
"a",
"b-a",
"b",
"a",
"int a",
"a",
"int b",
"b",
"public static long mod(long a, long b) {\n return ((a % b) + b ) % b;\n }",
"mod",
"{\n return ((a % b) + b ) % b;\n }",
"return ((a % b) + b ) % b;",
"((a % b) + b ) % b",
"((a % b) + b )",
"(a % b)",
"a",
"b",
"b",
"b",
"long a",
"a",
"long b",
"b",
"public static int mod (int a, int b) {\n return ((a % b) + b ) % b;\n }",
"mod",
"{\n return ((a % b) + b ) % b;\n }",
"return ((a % b) + b ) % b;",
"((a % b) + b ) % b",
"((a % b) + b )",
"(a % b)",
"a",
"b",
"b",
"b",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String s = in.nextLine();",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"String t = in.nextLine();",
"t",
"in.nextLine()",
"in.nextLine",
"in",
"int res = 0;",
"res",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}",
"{\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}",
"if (s.charAt(i) != t.charAt(i)) res++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main\n{\n\n private final static int MOD = 1_000_000_007;\n\n public static int gcd(int a, int b) { \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }\n \n public static long mod(long a, long b) {\n return ((a % b) + b ) % b;\n }\n\n public static int mod (int a, int b) {\n return ((a % b) + b ) % b;\n }\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }\n}",
"public class Main\n{\n\n private final static int MOD = 1_000_000_007;\n\n public static int gcd(int a, int b) { \n // Everything divides 0 \n if (a == 0) \n return b; \n if (b == 0) \n return a; \n \n // base case \n if (a == b) \n return a; \n \n // a is greater \n if (a > b) \n return gcd(a-b, b); \n return gcd(a, b-a); \n }\n \n public static long mod(long a, long b) {\n return ((a % b) + b ) % b;\n }\n\n public static int mod (int a, int b) {\n return ((a % b) + b ) % b;\n }\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\tString s = in.nextLine();\n\tString t = in.nextLine();\n\tint res = 0;\n\tfor (int i = 0; i < s.length(); i++) {\n\t if (s.charAt(i) != t.charAt(i)) res++;\n\t}\n\tSystem.out.println(res);\n\tin.close();\n }\n}",
"Main"
]
|
import java.util.*;
public class Main
{
private final static int MOD = 1_000_000_007;
public static int gcd(int a, int b) {
// Everything divides 0
if (a == 0)
return b;
if (b == 0)
return a;
// base case
if (a == b)
return a;
// a is greater
if (a > b)
return gcd(a-b, b);
return gcd(a, b-a);
}
public static long mod(long a, long b) {
return ((a % b) + b ) % b;
}
public static int mod (int a, int b) {
return ((a % b) + b ) % b;
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String s = in.nextLine();
String t = in.nextLine();
int res = 0;
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != t.charAt(i)) res++;
}
System.out.println(res);
in.close();
}
}
|
[
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,
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
],
[
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
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] S = sc.next().split(\"\");\n String[] T = sc.next().split(\"\");\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (!S[i].equals(T[i])) count++;\n }\n System.out.println(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[] S = sc.next().split(\"\");\n String[] T = sc.next().split(\"\");\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (!S[i].equals(T[i])) count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] S = sc.next().split(\"\");\n String[] T = sc.next().split(\"\");\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (!S[i].equals(T[i])) count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] S = sc.next().split(\"\");\n String[] T = sc.next().split(\"\");\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (!S[i].equals(T[i])) count++;\n }\n System.out.println(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])) count++;\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])) count++;\n }",
"{\n if (!S[i].equals(T[i])) count++;\n }",
"if (!S[i].equals(T[i])) count++;",
"!S[i].equals(T[i])",
"S[i].equals(T[i])",
"S[i].equals",
"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"
]
| import java.util.*;
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(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,
4,
18,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
30,
9,
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
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
40,
57
],
[
57,
58
],
[
39,
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
]
]
| [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\n }",
"main",
"{\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\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 rtn = 0;",
"rtn",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }",
"{\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }",
"if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }",
"String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))",
"String.valueOf(s.charAt(i)).equals",
"String.valueOf(s.charAt(i))",
"String.valueOf",
"String",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"String.valueOf(t.charAt(i))",
"String.valueOf",
"String",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n continue;\n }",
"continue;",
"rtn++",
"rtn",
"System.out.println(rtn)",
"System.out.println",
"System.out",
"System",
"System.out",
"rtn",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n int rtn = 0;\n for (int i = 0; i < s.length(); i++) {\n if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {\n continue;\n }\n rtn++;\n }\n System.out.println(rtn);\n }\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.next();
String t = sc.next();
int rtn = 0;
for (int i = 0; i < s.length(); i++) {
if (String.valueOf(s.charAt(i)).equals(String.valueOf(t.charAt(i)))) {
continue;
}
rtn++;
}
System.out.println(rtn);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t String t=sc.nextLine();\n\t String s=sc.nextLine();\n\t int x=t.length();\n\t int c=0;\n\t for(int i=0;i<x;i++)\n\t {\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }\n\t System.out.println(c);\n\t }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t String t=sc.nextLine();\n\t String s=sc.nextLine();\n\t int x=t.length();\n\t int c=0;\n\t for(int i=0;i<x;i++)\n\t {\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }\n\t System.out.println(c);\n\t }\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t String t=sc.nextLine();\n\t String s=sc.nextLine();\n\t int x=t.length();\n\t int c=0;\n\t for(int i=0;i<x;i++)\n\t {\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }\n\t System.out.println(c);\n\t }",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t String t=sc.nextLine();\n\t String s=sc.nextLine();\n\t int x=t.length();\n\t int c=0;\n\t for(int i=0;i<x;i++)\n\t {\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }\n\t System.out.println(c);\n\t }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String t=sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String s=sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int x=t.length();",
"x",
"t.length()",
"t.length",
"t",
"int c=0;",
"c",
"0",
"for(int i=0;i<x;i++)\n\t {\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }",
"{\n\t if(t.charAt(i)!=s.charAt(i))\n\t c++;\n\t }",
"if(t.charAt(i)!=s.charAt(i))\n\t c++;",
"t.charAt(i)!=s.charAt(i)",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args"
]
| /* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner(System.in);
String t=sc.nextLine();
String s=sc.nextLine();
int x=t.length();
int c=0;
for(int i=0;i<x;i++)
{
if(t.charAt(i)!=s.charAt(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,
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
],
[
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
],
[
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;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(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 Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(count);\n\t}",
"main",
"{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String N = sc.next();",
"N",
"sc.next()",
"sc.next",
"sc",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"int count =0;",
"count",
"0",
"for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N.length()",
"i",
"N.length()",
"N.length",
"N",
"i++",
"i++",
"i",
"{\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }",
"{\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }",
"if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }",
"N.charAt(i) == S.charAt(i)",
"N.charAt(i)",
"N.charAt",
"N",
"i",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"{ \n\t\t\t }",
"{\n\t\t\t\t count++;\n\t\t\t }",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(count);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t String N = sc.next();\n\t\t String S = sc.next();\n\t\t int count =0;\n\t\t for (int i = 0; i < N.length(); i++) {\n\t\t\t if (N.charAt(i) == S.charAt(i)) { \n\t\t\t } else {\n\t\t\t\t count++;\n\t\t\t }\n\t\t }\n\t\t System.out.print(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 N = sc.next();
String S = sc.next();
int count =0;
for (int i = 0; i < N.length(); i++) {
if (N.charAt(i) == S.charAt(i)) {
} else {
count++;
}
}
System.out.print(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,
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.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }",
"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",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\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 ans += 1;\n }\n }",
"{\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }",
"if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n ans += 1;\n }",
"ans += 1",
"ans",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String s = input.next();\n String t = input.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)){\n ans += 1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String s = input.next();
String t = input.next();
int ans = 0;
for (int i = 0; i < s.length(); i++){
if (s.charAt(i) != t.charAt(i)){
ans += 1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
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 String s = sc.next();\n String t = sc.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\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 String s = sc.next();\n String t = sc.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\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 ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\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 ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\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 ans++;\n }\n }",
"{\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }",
"if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"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\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 ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n\n}",
"public class Main {\n\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 ans = 0;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\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();
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,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
2,
4,
18,
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
],
[
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
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
58,
62
],
[
6,
63
],
[
63,
64
]
]
| [
"import java.util.Scanner;\n\n\nclass 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 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 \n System.out.println(s.length()-count);\n \n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.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 \n System.out.println(s.length()-count);\n \n \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 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 \n System.out.println(s.length()-count);\n \n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\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 if((s.charAt(i))==(t.charAt(i))){\n count++;\n }\n }\n\n \n System.out.println(s.length()-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",
"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(s.length()-count)",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()-count",
"s.length()",
"s.length",
"s",
"count",
"String args[]",
"args"
]
| import java.util.Scanner;
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++){
if((s.charAt(i))==(t.charAt(i))){
count++;
}
}
System.out.println(s.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,
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,
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
],
[
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
],
[
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\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 String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\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 String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\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 [] aa = a.toCharArray();",
"aa",
"a.toCharArray()",
"a.toCharArray",
"a",
"char [] bb = b.toCharArray();",
"bb",
"b.toCharArray()",
"b.toCharArray",
"b",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < aa.length",
"i",
"aa.length",
"aa",
"aa.length",
"i++",
"i++",
"i",
"{\n if(aa[i] != bb[i]){\n cnt++;\n }\n }",
"{\n if(aa[i] != bb[i]){\n cnt++;\n }\n }",
"if(aa[i] != bb[i]){\n cnt++;\n }",
"aa[i] != bb[i]",
"aa[i]",
"aa",
"i",
"bb[i]",
"bb",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\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 String b = sc.next();\n char [] aa = a.toCharArray();\n char [] bb = b.toCharArray();\n int cnt = 0;\n \n for(int i=0; i < aa.length; i++){\n if(aa[i] != bb[i]){\n cnt++;\n }\n }\n \n System.out.println(cnt);\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();
String b = sc.next();
char [] aa = a.toCharArray();
char [] bb = b.toCharArray();
int cnt = 0;
for(int i=0; i < aa.length; i++){
if(aa[i] != bb[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,
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,
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
],
[
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
],
[
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 Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }",
"main",
"{\n Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }",
"Scanner c = new Scanner(System.in);",
"c",
"new Scanner(System.in)",
"String str1 = c.nextLine();",
"str1",
"c.nextLine()",
"c.nextLine",
"c",
"String str2 = c.nextLine();",
"str2",
"c.nextLine()",
"c.nextLine",
"c",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\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 (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }",
"{\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }",
"if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }",
"!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))",
"str1.substring(i, i + 1).equals(str2.substring(i, i + 1))",
"str1.substring(i, i + 1).equals",
"str1.substring(i, i + 1)",
"str1.substring",
"str1",
"i",
"i + 1",
"i",
"1",
"str2.substring(i, i + 1)",
"str2.substring",
"str2",
"i",
"i + 1",
"i",
"1",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n\n String str1 = c.nextLine();\n String str2 = c.nextLine();\n int count = 0;\n\n for (int i = 0; i < str1.length(); i++) {\n if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {\n count++;\n }\n }\n\n System.out.println(count);\n\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner c = new Scanner(System.in);
String str1 = c.nextLine();
String str2 = c.nextLine();
int count = 0;
for (int i = 0; i < str1.length(); i++) {
if (!str1.substring(i, i + 1).equals(str2.substring(i, i + 1))) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
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,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
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
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num=0;",
"num",
"0",
"String s=sc.nextLine()",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"t=sc.nextLine();",
"t",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\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))num++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}",
"if(s.charAt(i)!=t.charAt(i))num++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"num++",
"num",
"System.out.print(num)",
"System.out.print",
"System.out",
"System",
"System.out",
"num",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint num=0;\n\t\tString s=sc.nextLine(),t=sc.nextLine();\n\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tif(s.charAt(i)!=t.charAt(i))num++;\n\t\t}\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int num=0;
String s=sc.nextLine(),t=sc.nextLine();
for(int i=0;i<s.length();i++){
if(s.charAt(i)!=t.charAt(i))num++;
}
System.out.print(num);
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,
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,
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
],
[
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
],
[
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
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\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 sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\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\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\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",
"String[] s1 = s.split(\"\");",
"s1",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String[] t1 = t.split(\"\");",
"t1",
"t.split(\"\")",
"t.split",
"t",
"\"\"",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s1.length",
"i",
"s1.length",
"s1",
"s1.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}",
"s1[i].equals(t1[i])",
"s1[i].equals",
"s1[i]",
"s1",
"i",
"t1[i]",
"t1",
"i",
"{\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString[] s1 = s.split(\"\");\n\t\tString[] t1 = t.split(\"\");\n\t\t\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = 0; i < s1.length; i++) {\n\t\t\tif(s1[i].equals(t1[i])) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(ans);\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.next();
String t = sc.next();
String[] s1 = s.split("");
String[] t1 = t.split("");
int ans = 0;
for(int i = 0; i < s1.length; i++) {
if(s1[i].equals(t1[i])) {
}else {
ans++;
}
}
System.out.print(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,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
2,
13,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
18,
13,
13,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
13,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
42,
2,
2,
13,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
40,
13,
23,
13,
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,
30,
40,
13,
4,
13,
13,
12,
13,
30,
14,
2,
2,
13,
17,
17,
30,
29,
13,
14,
2,
2,
13,
17,
17,
30,
29,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
17,
29,
17,
23,
13,
12,
13,
30,
29,
2,
4,
13,
13,
4,
13,
2,
13,
17,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
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,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
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,
12,
13,
30,
29,
4,
18,
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,
18,
36,
13,
18,
13,
13,
23,
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
],
[
593,
26
],
[
593,
27
],
[
27,
28
],
[
27,
29
],
[
593,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
32,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
32,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
32,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
78,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
32,
99
],
[
99,
100
],
[
30,
101
],
[
101,
102
],
[
593,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
103,
120
],
[
120,
121
],
[
103,
122
],
[
122,
123
],
[
593,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
130,
140
],
[
140,
141
],
[
141,
142
],
[
130,
143
],
[
144,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
126,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
126,
177
],
[
177,
178
],
[
124,
179
],
[
179,
180
],
[
593,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
184,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
184,
194
],
[
194,
195
],
[
195,
196
],
[
184,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
199,
211
],
[
211,
212
],
[
212,
213
],
[
183,
214
],
[
214,
215
],
[
181,
216
],
[
216,
217
],
[
593,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
218,
224
],
[
224,
225
],
[
593,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
228,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
246,
248
],
[
243,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
253,
255
],
[
243,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
243,
261
],
[
261,
262
],
[
243,
263
],
[
263,
264
],
[
226,
265
],
[
265,
266
],
[
593,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
269,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
269,
282
],
[
282,
283
],
[
282,
284
],
[
269,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
285,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
292,
294
],
[
285,
295
],
[
295,
296
],
[
296,
297
],
[
285,
298
],
[
299,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
305,
306
],
[
305,
307
],
[
300,
308
],
[
308,
309
],
[
309,
310
],
[
269,
311
],
[
311,
312
],
[
311,
313
],
[
593,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
317,
323
],
[
323,
324
],
[
324,
325
],
[
316,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
331
],
[
326,
332
],
[
332,
333
],
[
333,
334
],
[
316,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
335,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
316,
346
],
[
346,
347
],
[
314,
348
],
[
348,
349
],
[
593,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
360,
362
],
[
350,
363
],
[
363,
364
],
[
350,
365
],
[
365,
366
],
[
593,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
370,
375
],
[
367,
376
],
[
376,
377
],
[
593,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
381,
386
],
[
378,
387
],
[
387,
388
],
[
593,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
392,
397
],
[
389,
398
],
[
398,
399
],
[
593,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
403,
404
],
[
403,
405
],
[
402,
406
],
[
406,
407
],
[
406,
408
],
[
402,
409
],
[
409,
410
],
[
409,
411
],
[
400,
412
],
[
412,
413
],
[
400,
414
],
[
414,
415
],
[
593,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
420,
423
],
[
420,
424
],
[
416,
425
],
[
425,
426
],
[
416,
427
],
[
427,
428
],
[
593,
429
],
[
429,
430
],
[
429,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
433,
436
],
[
433,
437
],
[
429,
438
],
[
438,
439
],
[
429,
440
],
[
440,
441
],
[
593,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
446,
449
],
[
449,
450
],
[
450,
451
],
[
593,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
456,
459
],
[
459,
460
],
[
460,
461
],
[
593,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
466,
469
],
[
469,
470
],
[
470,
471
],
[
593,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
593,
479
],
[
479,
480
],
[
479,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
484,
485
],
[
483,
486
],
[
479,
487
],
[
487,
488
],
[
593,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
489,
493
],
[
493,
494
],
[
489,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
495,
501
],
[
501,
502
],
[
489,
503
],
[
503,
504
],
[
503,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
507,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
506,
515
],
[
515,
516
],
[
516,
517
],
[
516,
518
],
[
505,
519
],
[
519,
520
],
[
520,
521
],
[
521,
522
],
[
489,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
527,
530
],
[
530,
531
],
[
489,
532
],
[
532,
533
],
[
532,
534
],
[
534,
535
],
[
535,
536
],
[
536,
537
],
[
537,
538
],
[
536,
539
],
[
539,
540
],
[
489,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
544,
545
],
[
545,
546
],
[
546,
547
],
[
489,
548
],
[
548,
549
],
[
548,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
0,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
555,
559
],
[
559,
560
],
[
555,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
564,
568
],
[
563,
569
],
[
569,
570
],
[
570,
571
],
[
570,
572
],
[
569,
573
],
[
561,
574
],
[
574,
575
],
[
561,
576
],
[
576,
577
],
[
555,
578
],
[
578,
579
],
[
578,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
583,
584
],
[
583,
585
],
[
582,
586
],
[
586,
587
],
[
586,
588
],
[
578,
589
],
[
589,
590
],
[
555,
591
],
[
0,
592
],
[
592,
593
],
[
592,
594
]
]
| [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.util.*;\nimport java.math.*;\nimport java.io.*;\nimport java.text.*;\nimport java.math.BigInteger;\n\npublic class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}\n\n\n\nclass Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"//Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"sieve",
"{\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"boolean[] prime = new boolean[(int)n+1];",
"prime",
"new boolean[(int)n+1]",
"(int)n+1",
"(int)n",
"1",
"Arrays.fill(prime,true)",
"Arrays.fill",
"Arrays",
"prime",
"true",
"prime[0] = false",
"prime[0]",
"prime",
"0",
"false",
"prime[1] = false",
"prime[1]",
"prime",
"1",
"false",
"long m = (long)Math.sqrt(n);",
"m",
"(long)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=m",
"i",
"m",
"i++",
"i++",
"i",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"prime[i]",
"prime",
"i",
"{\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }",
"int k=i*i;",
"int k=i*i;",
"k",
"i*i",
"i",
"i",
"k<=n",
"k",
"n",
"k+=i",
"k+=i",
"k",
"i",
"{\n prime[k] = false;\n }",
"{\n prime[k] = false;\n }",
"prime[k] = false",
"prime[k]",
"prime",
"k",
"false",
"return prime;",
"prime",
"long n",
"n",
"static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"GCD",
"{\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"if(b==0)\n {\n return a;\n }",
"b==0",
"b",
"0",
"{\n return a;\n }",
"return a;",
"a",
"return GCD(b,a%b);",
"GCD(b,a%b)",
"GCD",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"CountCoPrimes",
"{\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"long res = n;",
"res",
"n",
"for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"while(n%i==0)\n {\n n/=i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n n/=i;\n }",
"n/=i",
"n",
"i",
"res-=res/i",
"res",
"res/i",
"res",
"i",
"if(n>1)\n {\n res-=res/n;\n }",
"n>1",
"n",
"1",
"{\n res-=res/n;\n }",
"res-=res/n",
"res",
"res/n",
"res",
"n",
"return res;",
"res",
"long n",
"n",
"static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }",
"prime",
"{\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }",
"for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"{\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"if(i%2==0 ||i%3==0)\n {\n return false;\n }",
"i%2==0 ||i%3==0",
"i%2==0",
"i%2",
"i",
"2",
"0",
"i%3==0",
"i%3",
"i",
"3",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }",
"main",
"{\n \n new Main().run();\n \n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }",
"reverse",
"{\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }",
"int start=0;",
"start",
"0",
"int end = a.length-1;",
"end",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }",
"start!=end",
"start",
"end",
"{\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }",
"char temp = a[start];",
"temp",
"a[start]",
"a",
"start",
"a[start] = a[end]",
"a[start]",
"a",
"start",
"a[end]",
"a",
"end",
"a[end] = temp",
"a[end]",
"a",
"end",
"temp",
"start++",
"start",
"end--",
"end",
"char[] a",
"a",
"void run() throws IOException\n {\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }",
"run",
"{\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }",
"char[] c = si().toCharArray();",
"c",
"si().toCharArray()",
"si().toCharArray",
"si()",
"si",
"char[] t = si().toCharArray();",
"t",
"si().toCharArray()",
"si().toCharArray",
"si()",
"si",
"long ans = 0;",
"ans",
"0",
"for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<c.length",
"i",
"c.length",
"c",
"c.length",
"i++",
"i++",
"i",
"{\n if(c[i]!=t[i]){\n ans++;\n }\n }",
"{\n if(c[i]!=t[i]){\n ans++;\n }\n }",
"if(c[i]!=t[i]){\n ans++;\n }",
"c[i]!=t[i]",
"c[i]",
"c",
"i",
"t[i]",
"t",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"printL(ans)",
"printL",
"ans",
"//xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"xor",
"{\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"if(n%4==0)\n {\n return n;\n }",
"n%4==0",
"n%4",
"n",
"4",
"0",
"{\n return n;\n }",
"return n;",
"n",
"if(n%4==1)\n {\n return 1;\n }",
"n%4==1",
"n%4",
"n",
"4",
"1",
"{\n return 1;\n }",
"return 1;",
"1",
"if(n%4==2)\n {\n return n+1;\n }",
"n%4==2",
"n%4",
"n",
"4",
"2",
"{\n return n+1;\n }",
"return n+1;",
"n+1",
"n",
"1",
"return 0;",
"0",
"long n",
"n",
"static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }",
"xor",
"{\n return xor(b)^xor(a-1);\n }",
"return xor(b)^xor(a-1);",
"xor(b)^xor(a-1)",
"xor(b)",
"xor",
"b",
"xor(a-1)",
"xor",
"a-1",
"a",
"1",
"long a",
"a",
"long b",
"b",
"void printL(long a)\n {\n System.out.println(a);\n }",
"printL",
"{\n System.out.println(a);\n }",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"long a",
"a",
"void printS(String s)\n {\n System.out.println(s);\n }",
"printS",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"void printD(Double d)\n {\n System.out.println(d);\n }",
"printD",
"{\n System.out.println(d);\n }",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"Double d",
"d",
"static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }",
"swap",
"{\n char t = c;\n c = p;\n p = t;\n }",
"char t = c;",
"t",
"c",
"c = p",
"c",
"p",
"p = t",
"p",
"t",
"char c",
"c",
"char p",
"p",
"static long max(long n,long m)\n {\n return Math.max(n,m);\n }",
"max",
"{\n return Math.max(n,m);\n }",
"return Math.max(n,m);",
"Math.max(n,m)",
"Math.max",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"static long min(long n,long m)\n {\n return Math.min(n,m);\n }",
"min",
"{\n return Math.min(n,m);\n }",
"return Math.min(n,m);",
"Math.min(n,m)",
"Math.min",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }",
"nd",
"{\n return Double.parseDouble(in.next());\n }",
"return Double.parseDouble(in.next());",
"Double.parseDouble(in.next())",
"Double.parseDouble",
"Double",
"in.next()",
"in.next",
"in",
"int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }",
"ni",
"{\n return Integer.parseInt(in.next());\n }",
"return Integer.parseInt(in.next());",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }",
"nl",
"{\n return Long.parseLong(in.next());\n }",
"return Long.parseLong(in.next());",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"String si() throws IOException\n {\n return in.next();\n }",
"si",
"{\n return in.next();\n }",
"return in.next();",
"in.next()",
"in.next",
"in",
"static int abs(int n)\n {\n return Math.abs(n);\n }",
"abs",
"{\n return Math.abs(n);\n }",
"return Math.abs(n);",
"Math.abs(n)",
"Math.abs",
"Math",
"n",
"int n",
"n",
"static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{ br = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"class Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}",
"Pair",
"int x",
"x",
"y;",
"y",
"public Pair(int x,int y)\n {\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",
"int x",
"x",
"int y",
"y",
"public int compareTo(Pair o)\n {\n return this.y-o.y;\n }",
"compareTo",
"{\n return this.y-o.y;\n }",
"return this.y-o.y;",
"this.y-o.y",
"this.y",
"this",
"this.y",
"o.y",
"o",
"o.y",
"Pair o",
"o",
"Comparable",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n char[] c = si().toCharArray();\n char[] t = si().toCharArray();\n long ans = 0;\n for(int i=0;i<c.length;i++)\n {\n if(c[i]!=t[i]){\n ans++;\n }\n }\n\n printL(ans);\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.*;
import java.math.*;
import java.io.*;
import java.text.*;
import java.math.BigInteger;
public class Main
{
//Life's a bitch
public static boolean[] sieve(long n)
{
boolean[] prime = new boolean[(int)n+1];
Arrays.fill(prime,true);
prime[0] = false;
prime[1] = false;
long m = (long)Math.sqrt(n);
for(int i=2;i<=m;i++)
{
if(prime[i])
{
for(int k=i*i;k<=n;k+=i)
{
prime[k] = false;
}
}
}
return prime;
}
static long GCD(long a,long b)
{
if(b==0)
{
return a;
}
return GCD(b,a%b);
}
static long CountCoPrimes(long n)
{
long res = n;
for(int i=2;i*i<=n;i++)
{
if(n%i==0)
{
while(n%i==0)
{
n/=i;
}
res-=res/i;
}
}
if(n>1)
{
res-=res/n;
}
return res;
}
static boolean prime(int n)
{
for(int i=2;i*i<=n;i++)
{
if(i%2==0 ||i%3==0)
{
return false;
}
}
return true;
}
public static void main(String[] args) throws IOException
{
new Main().run();
}
static void reverse(char[] a)
{
// char[] a = c.toCharArray();
int start=0;
int end = a.length-1;
while(start!=end)
{
char temp = a[start];
a[start] = a[end];
a[end] = temp;
start++;
end--;
}
}
Scanner in = new Scanner(System.in);
void run() throws IOException
{
char[] c = si().toCharArray();
char[] t = si().toCharArray();
long ans = 0;
for(int i=0;i<c.length;i++)
{
if(c[i]!=t[i]){
ans++;
}
}
printL(ans);
}
//xor range query
static long xor(long n)
{
if(n%4==0)
{
return n;
}
if(n%4==1)
{
return 1;
}
if(n%4==2)
{
return n+1;
}
return 0;
}
static long xor(long a,long b)
{
return xor(b)^xor(a-1);
}
void printL(long a)
{
System.out.println(a);
}
void printS(String s)
{
System.out.println(s);
}
void printD(Double d)
{
System.out.println(d);
}
static void swap(char c,char p)
{
char t = c;
c = p;
p = t;
}
static long max(long n,long m)
{
return Math.max(n,m);
}
static long min(long n,long m)
{
return Math.min(n,m);
}
double nd() throws IOException
{
return Double.parseDouble(in.next());
}
int ni() throws IOException
{
return Integer.parseInt(in.next());
}
long nl() throws IOException
{
return Long.parseLong(in.next());
}
String si() throws IOException
{
return in.next();
}
static int abs(int n)
{
return Math.abs(n);
}
static class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
{
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public boolean ready() throws IOException {return br.ready();}
}
}
class Pair implements Comparable<Pair>
{
int x,y;
public Pair(int x,int y)
{
this.x = x;
this.y = y;
}
public int compareTo(Pair o)
{
return this.y-o.y;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
77,
11
],
[
77,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
48,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}",
"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",
"int l = S.length();",
"l",
"S.length()",
"S.length",
"S",
"int cont = 0;",
"cont",
"0",
"for (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l",
"i",
"l",
"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\t\tcont++;\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\tif (s != t) {\n\t\t\t\tcont++;\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\tcont++;\n\t\t\t}",
"s != t",
"s",
"t",
"{\n\t\t\t\tcont++;\n\t\t\t}",
"cont++",
"cont",
"System.out.print(cont)",
"System.out.print",
"System.out",
"System",
"System.out",
"cont",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString S = br.readLine();\n\t\tString T = br.readLine();\n\t\tint l = S.length();\n\t\tint cont = 0;\n\t\tfor (int i = 0; i < l; 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\t\tcont++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(cont);\n\t}\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 S = br.readLine();
String T = br.readLine();
int l = S.length();
int cont = 0;
for (int i = 0; i < l; i++) {
char s = S.charAt(i);
char t = T.charAt(i);
if (s != t) {
cont++;
}
}
System.out.print(cont);
}
} |
[
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,
30,
9,
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
],
[
51,
52
],
[
40,
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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }\n System.out.println(cnt);\n }\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 String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }\n System.out.println(cnt);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }\n System.out.println(cnt);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\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 if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\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 cnt++;\n } else {\n continue;\n }\n }",
"{\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }",
"if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"{\n continue;\n }",
"continue;",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }\n System.out.println(cnt);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n for(int i=0; i<S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n cnt++;\n } else {\n continue;\n }\n }\n System.out.println(cnt);\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 cnt = 0;
for(int i=0; i<S.length(); i++){
if(S.charAt(i) != T.charAt(i)){
cnt++;
} else {
continue;
}
}
System.out.println(cnt);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
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,
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
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
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
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }",
"main",
"{\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }",
"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 cnt = 0;",
"cnt",
"0",
"for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\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]) cnt++;\n }",
"{\n if(s[i] != t[i]) cnt++;\n }",
"if(s[i] != t[i]) cnt++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }\n}",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n char[] s = sc.nextLine().toCharArray();\n char[] t = sc.nextLine().toCharArray();\n\n int cnt = 0;\n for(int i=0; i<s.length; i++) {\n if(s[i] != t[i]) cnt++;\n }\n System.out.println(cnt);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
char[] s = sc.nextLine().toCharArray();
char[] t = sc.nextLine().toCharArray();
int cnt = 0;
for(int i=0; i<s.length; i++) {
if(s[i] != t[i]) cnt++;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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,
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
],
[
72,
5
],
[
72,
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
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
10,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
10,
34
],
[
34,
35
],
[
34,
36
],
[
10,
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
10,
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\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\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(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"try(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"{\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"String data1 = scanner.nextLine();",
"data1",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String data2 = scanner.nextLine();",
"data2",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"char[] s = data1.toCharArray();",
"s",
"data1.toCharArray()",
"data1.toCharArray",
"data1",
"char[] t = data2.toCharArray();",
"t",
"data2.toCharArray()",
"data2.toCharArray",
"data2",
"long count = 0;",
"count",
"0",
"for (int i = 0; i < s.length; i++) {\n\t\t\t\tif (s[i] != t[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 < 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\tcount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (s[i] != t[i]) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"if (s[i] != t[i]) {\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n\t\t\t\t\tcount++;\n\t\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\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data1 = scanner.nextLine();\n\t\t\tString data2 = scanner.nextLine();\n\n\t\t\tchar[] s = data1.toCharArray();\n\t\t\tchar[] t = data2.toCharArray();\n\n\t\t\tlong count = 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\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner scanner = new Scanner(System.in)) {
String data1 = scanner.nextLine();
String data2 = scanner.nextLine();
char[] s = data1.toCharArray();
char[] t = data2.toCharArray();
long count = 0;
for (int i = 0; i < s.length; 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,
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
],
[
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
],
[
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
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
42,
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.*;\n\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 count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\n count--;\n }\n }\n System.out.println(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 s = sc.next();\n String t = sc.next();\n int count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\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 String s = sc.next();\n String t = sc.next();\n int count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\n count--;\n }\n }\n System.out.println(count);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\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",
"int count = s.length();",
"count",
"s.length()",
"s.length",
"s",
"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) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\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 String s = sc.next();\n String t = sc.next();\n int count = s.length();\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) == t.charAt(i)) {\n count--;\n }\n }\n System.out.println(count);\n\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 count = s.length();
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,
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
],
[
64,
5
],
[
64,
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
],
[
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;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"char[] S = stdIn.next().toCharArray();",
"S",
"stdIn.next().toCharArray()",
"stdIn.next().toCharArray",
"stdIn.next()",
"stdIn.next",
"stdIn",
"char[] T = stdIn.next().toCharArray();",
"T",
"stdIn.next().toCharArray()",
"stdIn.next().toCharArray",
"stdIn.next()",
"stdIn.next",
"stdIn",
"int cnt = 0;",
"cnt",
"0",
"for(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\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] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}",
"if(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n\t\t\t\tcnt ++;\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\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tchar[] S = stdIn.next().toCharArray();\n\t\tchar[] T = stdIn.next().toCharArray();\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\tfor(int i = 0; i < S.length; i ++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(cnt);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
char[] S = stdIn.next().toCharArray();
char[] T = stdIn.next().toCharArray();
int cnt = 0;
for(int i = 0; i < S.length; i ++) {
if(S[i] != T[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,
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,
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
],
[
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
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import 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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String varT = sc.next();",
"varT",
"sc.next()",
"sc.next",
"sc",
"final String varS = sc.next();",
"varS",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int Tlen = varT.length();",
"Tlen",
"varT.length()",
"varT.length",
"varT",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Tlen",
"i",
"Tlen",
"i++",
"i++",
"i",
"{\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }",
"{\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }",
"if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }",
"varT.charAt(i) != varS.charAt(i)",
"varT.charAt(i)",
"varT.charAt",
"varT",
"i",
"varS.charAt(i)",
"varS.charAt",
"varS",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\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 varT = sc.next();\n final String varS = sc.next();\n sc.close();\n\n int Tlen = varT.length();\n int cnt = 0;\n for (int i = 0; i < Tlen; i++) {\n if (varT.charAt(i) != varS.charAt(i)) {\n cnt++;\n }\n }\n System.out.println(cnt);\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 varT = sc.next();
final String varS = sc.next();
sc.close();
int Tlen = varT.length();
int cnt = 0;
for (int i = 0; i < Tlen; i++) {
if (varT.charAt(i) != varS.charAt(i)) {
cnt++;
}
}
System.out.println(cnt);
}
} |
[
7,
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,
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,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
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,
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,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
235,
14
],
[
235,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
37,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
15,
46
],
[
46,
47
],
[
235,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
52,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
52,
67
],
[
67,
68
],
[
67,
69
],
[
52,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
70,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
52,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
50,
101
],
[
101,
102
],
[
50,
103
],
[
103,
104
],
[
50,
105
],
[
105,
106
],
[
235,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
107,
115
],
[
115,
116
],
[
107,
117
],
[
117,
118
],
[
107,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
119,
127
],
[
127,
128
],
[
107,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
137,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
147,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
143,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
165,
166
],
[
131,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
107,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
174,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
195,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
174,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
107,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
215,
213
],
[
225,
214
],
[
222,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
219,
220
],
[
219,
221
],
[
222,
222
],
[
222,
223
],
[
222,
224
],
[
225,
225
],
[
225,
226
],
[
225,
227
],
[
215,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
208,
232
],
[
232,
233
],
[
0,
234
],
[
234,
235
],
[
234,
236
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Spandan Mishra\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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 InputReader in = new InputReader(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",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(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, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }",
"solve",
"{\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }",
"char[] c1 = in.readString().toCharArray();",
"c1",
"in.readString().toCharArray()",
"in.readString().toCharArray",
"in.readString()",
"in.readString",
"in",
"char[] c2 = in.readString().toCharArray();",
"c2",
"in.readString().toCharArray()",
"in.readString().toCharArray",
"in.readString()",
"in.readString",
"in",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < c1.length",
"i",
"c1.length",
"c1",
"c1.length",
"i++",
"i++",
"i",
"{\n if (c1[i] != c2[i])\n cnt++;\n }",
"{\n if (c1[i] != c2[i])\n cnt++;\n }",
"if (c1[i] != c2[i])\n cnt++;",
"c1[i] != c2[i]",
"c1[i]",
"c1",
"i",
"c2[i]",
"c2",
"i",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new RuntimeException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new RuntimeException();",
"new RuntimeException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\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 RuntimeException();\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 RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\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 readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }",
"readString",
"{\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }",
"final StringBuilder stringBuilder = new StringBuilder();",
"stringBuilder",
"new StringBuilder()",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n stringBuilder.append((char) c);\n c = read();\n }",
"stringBuilder.append((char) c)",
"stringBuilder.append",
"stringBuilder",
"(char) c",
"c = read()",
"c",
"read()",
"read",
"return stringBuilder.toString();",
"stringBuilder.toString()",
"stringBuilder.toString",
"stringBuilder",
"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 class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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, InputReader in, PrintWriter out) {\n\n char[] c1 = in.readString().toCharArray();\n char[] c2 = in.readString().toCharArray();\n\n int cnt = 0;\n for (int i = 0; i < c1.length; i++) {\n if (c1[i] != c2[i])\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public String readString() {\n final StringBuilder stringBuilder = new StringBuilder();\n int c = read();\n while (isSpaceChar(c))\n c = read();\n do {\n stringBuilder.append((char) c);\n c = read();\n } while (!isSpaceChar(c));\n return stringBuilder.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Spandan Mishra
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BMinorChange solver = new BMinorChange();
solver.solve(1, in, out);
out.close();
}
static class BMinorChange {
public void solve(int testNumber, InputReader in, PrintWriter out) {
char[] c1 = in.readString().toCharArray();
char[] c2 = in.readString().toCharArray();
int cnt = 0;
for (int i = 0; i < c1.length; i++) {
if (c1[i] != c2[i])
cnt++;
}
System.out.println(cnt);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new RuntimeException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new RuntimeException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String readString() {
final StringBuilder stringBuilder = new StringBuilder();
int c = read();
while (isSpaceChar(c))
c = read();
do {
stringBuilder.append((char) c);
c = read();
} while (!isSpaceChar(c));
return stringBuilder.toString();
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
}
}
|
[
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.*;\nimport java.io.*;\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 int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.out.println(count);\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 Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.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 count = 0;",
"count",
"0",
"for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }",
"{\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }",
"char ss = s.charAt(i);",
"ss",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char tt = t.charAt(i);",
"tt",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(ss != tt)count++;",
"ss != tt",
"ss",
"tt",
"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 int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count = 0;\n for(int i = 0;i<s.length();i++){\n char ss = s.charAt(i);\n char tt = t.charAt(i);\n if(ss != tt)count++;\n }\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
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();
int count = 0;
for(int i = 0;i<s.length();i++){
char ss = s.charAt(i);
char tt = t.charAt(i);
if(ss != tt)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,
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
],
[
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
],
[
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
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"String s = kb.next();",
"s",
"kb.next()",
"kb.next",
"kb",
"String t = kb.next();",
"t",
"kb.next()",
"kb.next",
"kb",
"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\tcount += 1;\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\tcount += 1;\n\t\t}",
"{\n\t\t\tif (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount += 1;\n\t\t}",
"if (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount += 1;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count += 1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"kb.close()",
"kb.close",
"kb",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString s = kb.next();\n\t\tString t = kb.next();\n\t\tint count = 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\tcount += 1;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t\tkb.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb = new Scanner(System.in);
String s = kb.next();
String t = kb.next();
int count = 0;
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) != t.charAt(i))
count += 1;
}
System.out.println(count);
kb.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,
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,
2,
13,
17,
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
],
[
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
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
]
]
| [
"import java.util.*;\nclass 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 int count=0;\n for(int i=0;i<n;i++){\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }\n System.out.print(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 s=sc.next();\n String t=sc.next();\n int n=s.length();\n int count=0;\n for(int i=0;i<n;i++){\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }\n System.out.print(count);\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 int count=0;\n for(int i=0;i<n;i++){\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }\n System.out.print(count);\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 int count=0;\n for(int i=0;i<n;i++){\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }\n System.out.print(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 n=s.length();",
"n",
"s.length()",
"s.length",
"s",
"int count=0;",
"count",
"0",
"for(int i=0;i<n;i++){\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }",
"{\n if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }\n }",
"if(s.charAt(i)!=t.charAt(i)){\n count=count+1;\n }",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n count=count+1;\n }",
"count=count+1",
"count",
"count+1",
"count",
"1",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"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 n=s.length();
int count=0;
for(int i=0;i<n;i++){
if(s.charAt(i)!=t.charAt(i)){
count=count+1;
}
}
System.out.print(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,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
2,
13,
17,
41,
13,
4,
18,
13,
13,
2,
13,
17,
14,
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
],
[
81,
5
],
[
81,
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
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
44,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\n\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\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\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 n = s.length();",
"n",
"s.length()",
"s.length",
"s",
"int result = 0;",
"result",
"0",
"for (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= n - 1",
"i",
"n - 1",
"n",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}",
"{\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}",
"String a = s.substring(i, i + 1);",
"a",
"s.substring(i, i + 1)",
"s.substring",
"s",
"i",
"i + 1",
"i",
"1",
"String b = t.substring(i, i + 1);",
"b",
"t.substring(i, i + 1)",
"t.substring",
"t",
"i",
"i + 1",
"i",
"1",
"if (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}",
"a.equals(b)",
"a.equals",
"a",
"b",
"{\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t}",
"{\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\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\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint n = s.length();\n\t\tint result = 0;\n\n\t\tfor (int i = 0; i <= n - 1; i++) {\n\t\t\tString a = s.substring(i, i + 1);\n\t\t\tString b = t.substring(i, i + 1);\n\t\t\t//System.out.println(a);\n\t\t\t//System.out.println(b);\n\n\t\t\tif (a.equals(b)) {\n\t\t\t\t//System.out.println(\"OK \" + result);\n\t\t\t} else {\n\t\t\t\tresult++;\n\t\t\t\t//System.out.println(\"NG \" + result);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(result);\n\n\t}\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 n = s.length();
int result = 0;
for (int i = 0; i <= n - 1; i++) {
String a = s.substring(i, i + 1);
String b = t.substring(i, i + 1);
//System.out.println(a);
//System.out.println(b);
if (a.equals(b)) {
//System.out.println("OK " + result);
} else {
result++;
//System.out.println("NG " + result);
}
}
System.out.println(result);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
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,
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,
4,
18,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
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
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
8,
115
],
[
115,
116
],
[
116,
117
],
[
6,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"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\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\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\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\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",
"char[] slist = new char[s.length()];",
"slist",
"new char[s.length()]",
"s.length()",
"s.length",
"s",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\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\tslist[i] = s.charAt(i);\n\t\t}",
"{\n\t\t\tslist[i] = s.charAt(i);\n\t\t}",
"slist[i] = s.charAt(i)",
"slist[i]",
"slist",
"i",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] tlist = new char[t.length()];",
"tlist",
"new char[t.length()]",
"t.length()",
"t.length",
"t",
"for (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\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\ttlist[i] = t.charAt(i);\n\t\t}",
"{\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}",
"tlist[i] = t.charAt(i)",
"tlist[i]",
"tlist",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\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 (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}",
"slist[i] != tlist[i]",
"slist[i]",
"slist",
"i",
"tlist[i]",
"tlist",
"i",
"{\n\t\t\t\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tchar[] slist = new char[s.length()];\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tslist[i] = s.charAt(i);\n\t\t}\n\t\tString t = sc.next();\n\t\tchar[] tlist = new char[t.length()];\n\t\tfor (int i = 0; i < t.length(); i++) {\n\t\t\ttlist[i] = t.charAt(i);\n\t\t}\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (slist[i] != tlist[i]) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
char[] slist = new char[s.length()];
for (int i = 0; i < s.length(); i++) {
slist[i] = s.charAt(i);
}
String t = sc.next();
char[] tlist = new char[t.length()];
for (int i = 0; i < t.length(); i++) {
tlist[i] = t.charAt(i);
}
int ans = 0;
for (int i = 0; i < s.length(); i++) {
if (slist[i] != tlist[i]) {
ans++;
}
}
System.out.println(ans);
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,
0,
13,
8,
2,
18,
13,
13,
18,
13,
13,
17,
17,
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
],
[
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
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
46,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\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 char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\n }",
"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 sum=0;",
"sum",
"0",
"for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n sum+=(s[i]==t[i])?0:1;\n }",
"{\n sum+=(s[i]==t[i])?0:1;\n }",
"sum+=(s[i]==t[i])?0:1",
"sum",
"(s[i]==t[i])?0:1",
"(s[i]==t[i])",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"0",
"1",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\n }\n}",
"public class Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n char[]s=sc.next().toCharArray();\n char[]t=sc.next().toCharArray();\n int sum=0;\n for(int i=0;i<s.length;i++){\n sum+=(s[i]==t[i])?0:1;\n }\n System.out.println(sum);\n }\n}",
"Main"
]
| import java.util.*;
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 sum=0;
for(int i=0;i<s.length;i++){
sum+=(s[i]==t[i])?0:1;
}
System.out.println(sum);
}
}
|
[
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){\n Scanner sc = new Scanner(System.in);\n String word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\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 word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String word = sc.nextLine();",
"word",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String word1 = sc.nextLine();",
"word1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int counter = 0;",
"counter",
"0",
"for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }",
"int p=0;",
"int p=0;",
"p",
"0",
"p<word.length()",
"p",
"word.length()",
"word.length",
"word",
"p++",
"p++",
"p",
"{\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }",
"{\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }",
"if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }",
"word.charAt(p) != word1.charAt(p)",
"word.charAt(p)",
"word.charAt",
"word",
"p",
"word1.charAt(p)",
"word1.charAt",
"word1",
"p",
"{\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){\n Scanner sc = new Scanner(System.in);\n String word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String word = sc.nextLine();\n String word1 = sc.nextLine();\n int counter = 0;\n for(int p=0; p<word.length(); p++){\n if(word.charAt(p) != word1.charAt(p)){\n ++counter;\n }\n\n }\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String word = sc.nextLine();
String word1 = sc.nextLine();
int counter = 0;
for(int p=0; p<word.length(); p++){
if(word.charAt(p) != word1.charAt(p)){
++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,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
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,
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
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
27,
34
],
[
8,
35
],
[
35,
36
],
[
35,
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
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
53,
71
],
[
71,
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 Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n \n if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n \n if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\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 if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n String t = sc.next();\n \n if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\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.print(\"0\");\n return;\n }",
"s.equals(t)",
"s.equals",
"s",
"t",
"{\n System.out.print(\"0\");\n return;\n }",
"System.out.print(\"0\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"0\"",
"return;",
"int result = 0;",
"result",
"0",
"for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\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 \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }",
"{\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }",
"if(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }",
"!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 result++;\n }",
"result++",
"result",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main{\n\tpublic 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 if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\n }\n}",
"public class Main{\n\tpublic 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 if(s.equals(t)){\n System.out.print(\"0\");\n return;\n }\n \n \n int result = 0;\n for(int i=0; i < s.length(); i++){\n \tif(!s.substring(i,i+1).equals(t.substring(i, i+1))){\n result++;\n }\n }\n \n System.out.print(result);\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();
if(s.equals(t)){
System.out.print("0");
return;
}
int result = 0;
for(int i=0; i < s.length(); i++){
if(!s.substring(i,i+1).equals(t.substring(i, i+1))){
result++;
}
}
System.out.print(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
14,
2,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
13,
13,
41,
13,
17,
28,
13,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
17,
4,
18,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
172,
8
],
[
172,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
15,
18
],
[
19,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
20,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
37,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
11,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
],
[
172,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
71,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
71,
84
],
[
84,
85
],
[
84,
86
],
[
71,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
71,
110
],
[
110,
111
],
[
69,
112
],
[
112,
113
],
[
172,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
116,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
136,
139
],
[
116,
140
],
[
140,
141
],
[
140,
142
],
[
116,
143
],
[
143,
144
],
[
143,
145
],
[
143,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
148,
160
],
[
160,
161
],
[
116,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
116,
168
],
[
114,
169
],
[
169,
170
],
[
0,
171
],
[
171,
172
],
[
171,
173
]
]
| [
"import java.io.*;\n// import java.math.*;\nimport java.util.*;\n// import java.util.Map.*;\n// import java.util.stream.*;\n\n@SuppressWarnings (\"unchecked\")\npublic class Main {\n public static <T> List<List<T>> zip (List<T>... lists) {\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }\n static List<Character> toCharacterList (String s) {\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static <T> List<List<T>> zip (List<T>... lists) {\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }\n static List<Character> toCharacterList (String s) {\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"Main",
"public static <T> List<List<T>> zip (List<T>... lists) {\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }",
"zip",
"{\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }",
"List<List<T>> zipped = new ArrayList<List<T>>();",
"zipped",
"new ArrayList<List<T>>()",
"for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }",
"List<T> list",
"lists",
"{\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }",
"{\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }",
"for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }",
"int i = 0, listSize = list.size();",
"int i = 0",
"i",
"0",
"listSize = list.size();",
"listSize",
"list.size()",
"list.size",
"list",
"i < listSize",
"i",
"listSize",
"i++",
"i++",
"i",
"{\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }",
"{\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }",
"List<T> list2;",
"list2",
"if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);",
"i >= zipped.size()",
"i",
"zipped.size()",
"zipped.size",
"zipped",
"zipped.add (list2 = new ArrayList<T>())",
"zipped.add",
"zipped",
"list2 = new ArrayList<T>()",
"list2",
"new ArrayList<T>()",
"list2 = zipped.get (i)",
"list2",
"zipped.get (i)",
"zipped.get",
"zipped",
"i",
"list2.add (list.get (i))",
"list2.add",
"list2",
"list.get (i)",
"list.get",
"list",
"i",
"return zipped;",
"zipped",
"List<T>... lists",
"lists",
"static List<Character> toCharacterList (String s) {\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }",
"toCharacterList",
"{\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }",
"if (s == null) {\n return null;\n }",
"s == null",
"s",
"null",
"{\n return null;\n }",
"return null;",
"null",
"int len = s.length();",
"len",
"s.length()",
"s.length",
"s",
"List<Character> lst = new ArrayList<Character>();",
"lst",
"new ArrayList<Character>()",
"for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n lst.add (Character.valueOf (s.charAt (i)));\n }",
"{\n lst.add (Character.valueOf (s.charAt (i)));\n }",
"lst.add (Character.valueOf (s.charAt (i)))",
"lst.add",
"lst",
"Character.valueOf (s.charAt (i))",
"Character.valueOf",
"Character",
"s.charAt (i)",
"s.charAt",
"s",
"i",
"return lst;",
"lst",
"String s",
"s",
"public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }",
"BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"List<Character> S = toCharacterList (reader.readLine());",
"S",
"toCharacterList (reader.readLine())",
"toCharacterList",
"reader.readLine()",
"reader.readLine",
"reader",
"List<Character> T = toCharacterList (reader.readLine());",
"T",
"toCharacterList (reader.readLine())",
"toCharacterList",
"reader.readLine()",
"reader.readLine",
"reader",
"List<List<Character>> z = zip (S, T);",
"z",
"zip (S, T)",
"zip",
"S",
"T",
"int ans = 0;",
"ans",
"0",
"for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }",
"List<Character> v",
"z",
"{\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }",
"{\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }",
"if (!v.get (0).equals (v.get (1)))\n ans++;",
"!v.get (0).equals (v.get (1))",
"v.get (0).equals (v.get (1))",
"v.get (0).equals",
"v.get (0)",
"v.get",
"v",
"0",
"v.get (1)",
"v.get",
"v",
"1",
"ans++",
"ans",
"System.out.println (ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"String[] args",
"args",
"public class Main {\n public static <T> List<List<T>> zip (List<T>... lists) {\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }\n static List<Character> toCharacterList (String s) {\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"public class Main {\n public static <T> List<List<T>> zip (List<T>... lists) {\n List<List<T>> zipped = new ArrayList<List<T>>();\n for (List<T> list : lists) {\n for (int i = 0, listSize = list.size(); i < listSize; i++) {\n List<T> list2;\n if (i >= zipped.size())\n zipped.add (list2 = new ArrayList<T>());\n else\n list2 = zipped.get (i);\n list2.add (list.get (i));\n }\n }\n return zipped;\n }\n static List<Character> toCharacterList (String s) {\n if (s == null) {\n return null;\n }\n int len = s.length();\n List<Character> lst = new ArrayList<Character>();\n for (int i = 0; i < len; i++) {\n lst.add (Character.valueOf (s.charAt (i)));\n }\n return lst;\n }\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n List<Character> S = toCharacterList (reader.readLine());\n List<Character> T = toCharacterList (reader.readLine());\n List<List<Character>> z = zip (S, T);\n int ans = 0;\n for (List<Character> v : z) {\n if (!v.get (0).equals (v.get (1)))\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"Main"
]
| import java.io.*;
// import java.math.*;
import java.util.*;
// import java.util.Map.*;
// import java.util.stream.*;
@SuppressWarnings ("unchecked")
public class Main {
public static <T> List<List<T>> zip (List<T>... lists) {
List<List<T>> zipped = new ArrayList<List<T>>();
for (List<T> list : lists) {
for (int i = 0, listSize = list.size(); i < listSize; i++) {
List<T> list2;
if (i >= zipped.size())
zipped.add (list2 = new ArrayList<T>());
else
list2 = zipped.get (i);
list2.add (list.get (i));
}
}
return zipped;
}
static List<Character> toCharacterList (String s) {
if (s == null) {
return null;
}
int len = s.length();
List<Character> lst = new ArrayList<Character>();
for (int i = 0; i < len; i++) {
lst.add (Character.valueOf (s.charAt (i)));
}
return lst;
}
public static void main (String[] args) throws Exception {
BufferedReader reader =
new BufferedReader (new InputStreamReader (System.in));
List<Character> S = toCharacterList (reader.readLine());
List<Character> T = toCharacterList (reader.readLine());
List<List<Character>> z = zip (S, T);
int ans = 0;
for (List<Character> v : z) {
if (!v.get (0).equals (v.get (1)))
ans++;
}
System.out.println (ans);
return;
}
} |
[
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,
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
],
[
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
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }\n System.out.println(num);\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.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }\n System.out.println(num);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }\n System.out.println(num);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }\n System.out.println(num);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next()",
"S",
"sc.next()",
"sc.next",
"sc",
"T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int num=0;",
"num",
"0",
"for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\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.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }",
"{\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }",
"if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }",
"!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 num++;\n }",
"num++",
"num",
"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 String S = sc.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\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 String S = sc.next(), T = sc.next();\n int num=0;\n for(int i=0; i<S.length(); i++) {\n if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {\n num++;\n }\n }\n System.out.println(num);\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(), T = sc.next();
int num=0;
for(int i=0; i<S.length(); i++) {
if(!S.substring(i,i+1).equals(T.substring(i,i+1))) {
num++;
}
}
System.out.println(num);
}
} |
[
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,
41,
13,
11,
1,
0,
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,
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
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
11,
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
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
45,
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.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\n }\n System.out.println(count);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\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.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\n }\n System.out.println(count);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\n }\n System.out.println(count);\n\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",
"i;",
"i",
"for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i) != t.charAt(i)) count++;\n }",
"{\n if(s.charAt(i) != t.charAt(i)) count++;\n }",
"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",
"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.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\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.nextLine();\n String t = sc.nextLine();\n \n int count = 0, i;\n for(i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)) count++;\n }\n System.out.println(count);\n\n }\n}",
"Main"
]
| import java.util.*;
import java.util.Arrays;
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, i;
for(i = 0; i < s.length(); i++){
if(s.charAt(i) != t.charAt(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,
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,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
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
],
[
120,
17
],
[
120,
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
],
[
34,
36
],
[
20,
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
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
20,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
18,
71
],
[
71,
72
],
[
120,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
81,
90
],
[
90,
91
],
[
73,
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
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
94,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(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 n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"int n=0;",
"int n=0;",
"n",
"0",
"n<S.length()",
"n",
"S.length()",
"S.length",
"S",
"n++",
"n++",
"n",
"{\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}",
"if (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}",
"S.charAt(n) != T.charAt(n)",
"S.charAt(n)",
"S.charAt",
"S",
"n",
"T.charAt(n)",
"T.charAt",
"T",
"n",
"{\n\t\t\t\tans++;\n\t\t\t}",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"private static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"FastScanner",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int n=0; n<S.length(); n++) {\n\t\t\tif (S.charAt(n) != T.charAt(n)) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
String S = sc.next();
String T = sc.next();
int ans = 0;
for (int n=0; n<S.length(); n++) {
if (S.charAt(n) != T.charAt(n)) {
ans++;
}
}
System.out.println(ans);
}
private static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.