node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
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,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
107,
20
],
[
107,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
107,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
28,
44
],
[
44,
45
],
[
44,
46
],
[
28,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
28,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
26,
76
],
[
76,
77
],
[
26,
78
],
[
78,
79
],
[
107,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
82,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
82,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
82,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
99,
103
],
[
80,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"import java.awt.*;\nimport java.util.*;\nimport java.io.*;\nimport java.math.BigDecimal;\nimport java.nio.file.Files;\nimport java.nio.charset.StandardCharsets;\n//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。\npublic class Main {\n int mod = (int) 1e9+7;\n //int n = (int) 1e6+5;\n //long[][] memo = new long[n][27];\n void solve(String s1, String s2) {\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n } \n //0 1 2 3 4 5 6 7\n //1 7 3 4 7 6 2 9\n //1 7 4 3 7 6 2 9;\n //1 2 1 2 1\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n int mod = (int) 1e9+7;\n //int n = (int) 1e6+5;\n //long[][] memo = new long[n][27];\n void solve(String s1, String s2) {\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n } \n //0 1 2 3 4 5 6 7\n //1 7 3 4 7 6 2 9\n //1 7 4 3 7 6 2 9;\n //1 2 1 2 1\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }\n}",
"Main",
"int mod = (int) 1e9+7;",
"mod",
"(int) 1e9+7",
"(int) 1e9",
"7",
"//int n = (int) 1e6+5;\n //long[][] memo = new long[n][27];\n void solve(String s1, String s2) {\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n }",
"solve",
"{\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n }",
"char[] cs1 = s1.toCharArray();",
"cs1",
"s1.toCharArray()",
"s1.toCharArray",
"s1",
"char[] cs2 = s2.toCharArray();",
"cs2",
"s2.toCharArray()",
"s2.toCharArray",
"s2",
"int n = s1.length();",
"n",
"s1.length()",
"s1.length",
"s1",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(cs1[i]!=cs2[i])cnt++;\n }",
"{\n if(cs1[i]!=cs2[i])cnt++;\n }",
"if(cs1[i]!=cs2[i])cnt++;",
"cs1[i]!=cs2[i]",
"cs1[i]",
"cs1",
"i",
"cs2[i]",
"cs2",
"i",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String s1",
"s1",
"String s2",
"s2",
"//0 1 2 3 4 5 6 7\n //1 7 3 4 7 6 2 9\n //1 7 4 3 7 6 2 9;\n //1 2 1 2 1\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }",
"main",
"{\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Main test = new Main();",
"test",
"new Main()",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String s2 = br.readLine();",
"s2",
"br.readLine()",
"br.readLine",
"br",
"test.solve(s,s2)",
"test.solve",
"test",
"s",
"s2",
"String[] args",
"args",
"public class Main {\n int mod = (int) 1e9+7;\n //int n = (int) 1e6+5;\n //long[][] memo = new long[n][27];\n void solve(String s1, String s2) {\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n } \n //0 1 2 3 4 5 6 7\n //1 7 3 4 7 6 2 9\n //1 7 4 3 7 6 2 9;\n //1 2 1 2 1\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }\n}",
"public class Main {\n int mod = (int) 1e9+7;\n //int n = (int) 1e6+5;\n //long[][] memo = new long[n][27];\n void solve(String s1, String s2) {\n char[] cs1 = s1.toCharArray();\n char[] cs2 = s2.toCharArray();\n int n = s1.length();\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(cs1[i]!=cs2[i])cnt++;\n }\n System.out.println(cnt);\n } \n //0 1 2 3 4 5 6 7\n //1 7 3 4 7 6 2 9\n //1 7 4 3 7 6 2 9;\n //1 2 1 2 1\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n String s = br.readLine();\n String s2 = br.readLine();\n test.solve(s,s2);\n }\n}",
"Main"
]
| import java.awt.*;
import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.nio.charset.StandardCharsets;
//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。
public class Main {
int mod = (int) 1e9+7;
//int n = (int) 1e6+5;
//long[][] memo = new long[n][27];
void solve(String s1, String s2) {
char[] cs1 = s1.toCharArray();
char[] cs2 = s2.toCharArray();
int n = s1.length();
int cnt = 0;
for(int i=0;i<n;i++){
if(cs1[i]!=cs2[i])cnt++;
}
System.out.println(cnt);
}
//0 1 2 3 4 5 6 7
//1 7 3 4 7 6 2 9
//1 7 4 3 7 6 2 9;
//1 2 1 2 1
public static void main(String[] args) throws IOException {
// Use the Scanner class
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//String[] s = br.readLine().split(" ");
Main test = new Main();
String s = br.readLine();
String s2 = br.readLine();
test.solve(s,s2);
}
}
|
[
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,
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
],
[
64,
5
],
[
64,
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
],
[
10,
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
],
[
10,
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\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"{\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int cnt = 0;",
"cnt",
"0",
"for(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}",
"int it = 0;",
"int it = 0;",
"it",
"0",
"it < s.length()",
"it",
"s.length()",
"s.length",
"s",
"it++",
"it++",
"it",
"{\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}",
"if(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}",
"s.charAt(it) != t.charAt(it)",
"s.charAt(it)",
"s.charAt",
"s",
"it",
"t.charAt(it)",
"t.charAt",
"t",
"it",
"{\n\t\t\t\t\tcnt++;\n\t\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\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tString s = sc.next();\n\t\t\tString t = sc.next();\n\n\t\t\tint cnt = 0;\n\n\t\t\tfor(int it = 0; it < s.length(); it++) {\n\t\t\t\tif(s.charAt(it) != t.charAt(it)) {\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner sc = new Scanner(System.in)){
String s = sc.next();
String t = sc.next();
int cnt = 0;
for(int it = 0; it < s.length(); it++) {
if(s.charAt(it) != t.charAt(it)) {
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,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
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
],
[
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
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\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.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S=sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T=sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"char[] s = S.toCharArray();",
"s",
"S.toCharArray()",
"S.toCharArray",
"S",
"char[] t = T.toCharArray();",
"t",
"T.toCharArray()",
"T.toCharArray",
"T",
"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}",
"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[i]!=t[i])\n\t\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif(s[i]!=t[i])\n\t\t\t\tcount++;\n\t\t}",
"if(s[i]!=t[i])\n\t\t\t\tcount++;",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\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.next();\n\t\tString T=sc.next();\n\t\tsc.close();\n\t\tchar[] s = S.toCharArray();\n\t\tchar[] t = T.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}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S=sc.next();
String T=sc.next();
sc.close();
char[] s = S.toCharArray();
char[] t = T.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,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
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,
0,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
39,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
60,
78
],
[
78,
79
],
[
79,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
8,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}\n\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String[] args){\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}",
"main",
"{\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}",
"int count = 0;",
"count",
"0",
"int length = 0;",
"length",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"length = s.length()",
"length",
"s.length()",
"s.length",
"s",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"if(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}",
"t.length() != length",
"t.length()",
"t.length",
"t",
"length",
"{\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(\"2 String have diffrent length.\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2 String have diffrent length.\"",
"return;",
"for(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<length",
"i",
"length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"if(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"!s.substring(i, i+1).equals(t.substring(i,i+1))",
"s.substring(i, i+1).equals(t.substring(i,i+1))",
"s.substring(i, i+1).equals",
"s.substring(i, i+1)",
"s.substring",
"s",
"i",
"i+1",
"i",
"1",
"t.substring(i,i+1)",
"t.substring",
"t",
"i",
"i+1",
"i",
"1",
"{\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"count=0",
"count",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}\n\t\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint count = 0;\n\t\tint length = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString s = sc.next();\n\t\t\tlength = s.length();\n\t\t\tString t = sc.next();\t\t\n\t\t\t\n\t\t\tif(t.length() != length) {\n\t\t\t\tSystem.out.println(\"2 String have diffrent length.\");\n\t\t\t\treturn;\n\t\t\t}\t\n\t\t\t\n\t\t\tfor(int i=0;i<length;i++) {\n\t\t\t\tif(!s.substring(i, i+1).equals(t.substring(i,i+1))){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t\n\t}\n\t\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args){
int count = 0;
int length = 0;
Scanner sc = new Scanner(System.in);
String s = sc.next();
length = s.length();
String t = sc.next();
if(t.length() != length) {
System.out.println("2 String have diffrent length.");
return;
}
for(int i=0;i<length;i++) {
if(!s.substring(i, i+1).equals(t.substring(i,i+1))){
count++;
}
}
System.out.println(count);
count=0;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
17,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
14,
2,
13,
40,
17,
37,
20,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
29,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
42,
40,
4,
13,
13,
0,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
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
],
[
237,
23
],
[
237,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
237,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
90,
100
],
[
100,
101
],
[
61,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
59,
106
],
[
106,
107
],
[
59,
108
],
[
108,
109
],
[
59,
110
],
[
110,
111
],
[
237,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
112,
120
],
[
120,
121
],
[
112,
122
],
[
122,
123
],
[
112,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
126,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
124,
142
],
[
142,
143
],
[
112,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
152,
157
],
[
157,
158
],
[
151,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
162,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
151,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
146,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
112,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
195,
197
],
[
187,
198
],
[
198,
199
],
[
112,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
202,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
202,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
223,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
202,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
0,
236
],
[
236,
237
],
[
236,
238
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastScanner in = new FastScanner(inputStream);",
"in",
"new FastScanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskB solver = new TaskB();",
"solver",
"new TaskB()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }\n\n }",
"TaskB",
"public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }",
"solve",
"{\n String S = in.next();\n String T = in.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 out.println(ans);\n }",
"String S = in.next();",
"S",
"in.next()",
"in.next",
"in",
"String T = in.next();",
"T",
"in.next()",
"in.next",
"in",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i))\n ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if (S.charAt(i) != T.charAt(i))\n ans++;\n }",
"{\n if (S.charAt(i) != T.charAt(i))\n ans++;\n }",
"if (S.charAt(i) != T.charAt(i))\n ans++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"int testNumber",
"testNumber",
"FastScanner in",
"in",
"PrintWriter out",
"out",
"static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n }",
"FastScanner",
"private InputStream in;",
"in",
"private byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int bufPointer;",
"bufPointer",
"private int bufLength;",
"bufLength",
"public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }",
"FastScanner",
"{\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.bufPointer = 0",
"this.bufPointer",
"this",
"this.bufPointer",
"0",
"this.bufLength = 0",
"this.bufLength",
"this",
"this.bufLength",
"0",
"InputStream in",
"in",
"private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }",
"readByte",
"{\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }",
"if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }",
"bufPointer >= bufLength",
"bufPointer",
"bufLength",
"{\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }",
"if (bufLength == -1)\n throw new InputMismatchException();",
"bufLength == -1",
"bufLength",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"bufPointer = 0",
"bufPointer",
"0",
"try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n bufLength = in.read(buffer);\n }",
"bufLength = in.read(buffer)",
"bufLength",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (bufLength <= 0)\n return -1;",
"bufLength <= 0",
"bufLength",
"0",
"return -1;",
"-1",
"1",
"return buffer[bufPointer++];",
"buffer[bufPointer++]",
"buffer",
"bufPointer++",
"bufPointer",
"private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }",
"isPrintableChar",
"{\n return c >= 33 && c <= 126;\n }",
"return c >= 33 && c <= 126;",
"c >= 33 && c <= 126",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }",
"next",
"{\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (!isPrintableChar(b))\n b = readByte();",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n String S = in.next();\n String T = in.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 out.println(ans);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastScanner in = new FastScanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskB solver = new TaskB();
solver.solve(1, in, out);
out.close();
}
static class TaskB {
public void solve(int testNumber, FastScanner in, PrintWriter out) {
String S = in.next();
String T = in.next();
int ans = 0;
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) != T.charAt(i))
ans++;
}
out.println(ans);
}
}
static class FastScanner {
private InputStream in;
private byte[] buffer = new byte[1024];
private int bufPointer;
private int bufLength;
public FastScanner(InputStream in) {
this.in = in;
this.bufPointer = 0;
this.bufLength = 0;
}
private int readByte() {
if (bufPointer >= bufLength) {
if (bufLength == -1)
throw new InputMismatchException();
bufPointer = 0;
try {
bufLength = in.read(buffer);
} catch (IOException e) {
throw new InputMismatchException();
}
if (bufLength <= 0)
return -1;
}
return buffer[bufPointer++];
}
private static boolean isPrintableChar(int c) {
return c >= 33 && c <= 126;
}
public String next() {
StringBuilder sb = new StringBuilder();
int b = readByte();
while (!isPrintableChar(b))
b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
}
}
|
[
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
71,
8
],
[
71,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
50,
60
],
[
60,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.lang.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s1 = scan.nextLine();",
"s1",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String s2 = scan.nextLine();",
"s2",
"scan.nextLine()",
"scan.nextLine",
"scan",
"int count = 0;",
"count",
"0",
"if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }",
"!s1.equals(s2)",
"s1.equals(s2)",
"s1.equals",
"s1",
"s2",
"{\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }",
"for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\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)) count++;\n }",
"{\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }",
"if(s1.charAt(i) != s2.charAt(i)) count++;",
"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 public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.nextLine();\n String s2 = scan.nextLine();\n \n \tint count = 0;\n \n if(!s1.equals(s2)){\n for(int i = 0; i < s1.length(); i++){\n if(s1.charAt(i) != s2.charAt(i)) count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main"
]
| import java.lang.*;
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String s1 = scan.nextLine();
String s2 = scan.nextLine();
int count = 0;
if(!s1.equals(s2)){
for(int i = 0; i < s1.length(); i++){
if(s1.charAt(i) != s2.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,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
107,
17
],
[
107,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
107,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
66,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
84,
94
],
[
94,
95
],
[
55,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
53,
100
],
[
100,
101
],
[
53,
102
],
[
102,
103
],
[
53,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n*/public class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\nstatic class B {\npublic void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n}\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"*/public class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\nstatic class B {\npublic void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}",
"main",
"{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}",
"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)",
"B solver = new B();",
"solver",
"new B()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class B {\npublic void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n}",
"B",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }",
"solve",
"{\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }",
"String S = in.next();",
"S",
"in.next()",
"in.next",
"in",
"String T = in.next();",
"T",
"in.next()",
"in.next",
"in",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if (S.charAt(i) != T.charAt(i)) ans++;\n }",
"{\n if (S.charAt(i) != T.charAt(i)) ans++;\n }",
"if (S.charAt(i) != T.charAt(i)) ans++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"*/public class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\nstatic class B {\npublic void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n}\n}",
"*/public class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tScanner in = new Scanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tB solver = new B();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\nstatic class B {\npublic void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n String S = in.next();\n String T = in.next();\n int ans = 0;\n\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n}\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
B solver = new B();
solver.solve(1, in, out);
out.close();
}
static class B {
public void solve(int testNumber, Scanner in, PrintWriter out) {
// 入力
String S = in.next();
String T = in.next();
int ans = 0;
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) != T.charAt(i)) ans++;
}
// 出力
out.println(ans);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
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,
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
],
[
80,
5
],
[
80,
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
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
8,
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
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"String S = keyboard.next();",
"S",
"keyboard.next()",
"keyboard.next",
"keyboard",
"String T = keyboard.next();",
"T",
"keyboard.next()",
"keyboard.next",
"keyboard",
"String[] strArrayS = S.split(\"\");",
"strArrayS",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] strArrayT = T.split(\"\");",
"strArrayT",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int Slong = S.length();",
"Slong",
"S.length()",
"S.length",
"S",
"int count = 0;",
"count",
"0",
"for (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<Slong",
"i",
"Slong",
"i++",
"i++",
"i",
"{\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}",
"!strArrayS[i].contentEquals(strArrayT[i])",
"strArrayS[i].contentEquals(strArrayT[i])",
"strArrayS[i].contentEquals",
"strArrayS[i]",
"strArrayS",
"i",
"strArrayT[i]",
"strArrayT",
"i",
"{\n\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\t\n\t\tString[] strArrayS = S.split(\"\");\n\t\tString[] strArrayT = T.split(\"\");\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(!strArrayS[i].contentEquals(strArrayT[i])) {\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
String S = keyboard.next();
String T = keyboard.next();
String[] strArrayS = S.split("");
String[] strArrayT = T.split("");
int Slong = S.length();
int count = 0;
for (int i=0; i<Slong; i++) {
if(!strArrayS[i].contentEquals(strArrayT[i])) {
count++;
}
}
System.out.println(count);
keyboard.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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
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
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
8,
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
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\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 l = s.length();",
"l",
"s.length()",
"s.length",
"s",
"int ans = 0;",
"ans",
"0",
"if (l == 0) {\n System.out.println(ans);\n return;\n }",
"l == 0",
"l",
"0",
"{\n System.out.println(ans);\n return;\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< l",
"i",
"l",
"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\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n int l = s.length();\n int ans = 0;\n if (l == 0) {\n System.out.println(ans);\n return;\n }\n for (int i = 0; i< l; i++) {\n if (s.charAt(i) != t.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\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 l = s.length();
int ans = 0;
if (l == 0) {
System.out.println(ans);
return;
}
for (int i = 0; i< l; 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,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"\nimport java.util.*;\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 =0;\n for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \n\n\n}\n\n }\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int count =0;\n for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \n\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 for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \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 for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \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 outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }",
"{\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }",
"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 =0;\n for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \n\n\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 =0;\n for(int i=0;i<s.length();i++){\n outer: for(int j =i;j<s.length();j++){\n if(s.charAt(i)!=t.charAt(j)){\n count++;\n break outer;\n }else{\n break outer;\n }\n }\n }\n System.out.println(count);\n \n \n\n\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 =0;
for(int i=0;i<s.length();i++){
outer: for(int j =i;j<s.length();j++){
if(s.charAt(i)!=t.charAt(j)){
count++;
break outer;
}else{
break outer;
}
}
}
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,
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.Scanner;\n\npublic class Main {\n\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\tint c=0;\n\t\tfor (int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.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))c++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\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\tint c=0;\n\t\tfor (int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\n\t\t}\n\t\tSystem.out.println(c);\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\tint c=0;\n\t\tfor (int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\n\t\t}\n\t\tSystem.out.println(c);\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",
"int c=0;",
"c",
"0",
"for (int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\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))c++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\n\t\t}",
"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\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\tint c=0;\n\t\tfor (int i=0;i<s.length();i++) {\n\t\t\tif(s.charAt(i)!=t.charAt(i))c++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.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))c++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s=scan.nextLine();
String t=scan.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,
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
]
| [
[
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
],
[
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
]
]
| [
"import java.util.*;\n\nclass Main{\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String str_S = sc.next();\n char[] s = str_S.toCharArray();\n String str_T = sc.next();\n char[] t = str_T.toCharArray();\n int result = 0;\n for(int i = 0;i < s.length;i++) {\n if(s[i] != t[i]) {\n result++;\n }\n }\n System.out.println(result);\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 str_S = sc.next();\n char[] s = str_S.toCharArray();\n String str_T = sc.next();\n char[] t = str_T.toCharArray();\n int result = 0;\n for(int i = 0;i < s.length;i++) {\n if(s[i] != t[i]) {\n result++;\n }\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n String str_S = sc.next();\n char[] s = str_S.toCharArray();\n String str_T = sc.next();\n char[] t = str_T.toCharArray();\n int result = 0;\n for(int i = 0;i < s.length;i++) {\n if(s[i] != t[i]) {\n result++;\n }\n }\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str_S = sc.next();\n char[] s = str_S.toCharArray();\n String str_T = sc.next();\n char[] t = str_T.toCharArray();\n int result = 0;\n for(int i = 0;i < s.length;i++) {\n if(s[i] != t[i]) {\n result++;\n }\n }\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str_S = sc.next();",
"str_S",
"sc.next()",
"sc.next",
"sc",
"char[] s = str_S.toCharArray();",
"s",
"str_S.toCharArray()",
"str_S.toCharArray",
"str_S",
"String str_T = sc.next();",
"str_T",
"sc.next()",
"sc.next",
"sc",
"char[] t = str_T.toCharArray();",
"t",
"str_T.toCharArray()",
"str_T.toCharArray",
"str_T",
"int result = 0;",
"result",
"0",
"for(int i = 0;i < s.length;i++) {\n if(s[i] != t[i]) {\n result++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if(s[i] != t[i]) {\n result++;\n }\n }",
"{\n if(s[i] != t[i]) {\n result++;\n }\n }",
"if(s[i] != t[i]) {\n result++;\n }",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n result++;\n }",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String str_S = sc.next();
char[] s = str_S.toCharArray();
String str_T = sc.next();
char[] t = str_T.toCharArray();
int result = 0;
for(int i = 0;i < s.length;i++) {
if(s[i] != t[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,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\n}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\n}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\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 ans=0;",
"ans",
"0",
"for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\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 char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }",
"{\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\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 ans++;\n }",
"s!=t",
"s",
"t",
"{\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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\n}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tString S = sc.nextLine();\n String T = sc.nextLine();\n int ans=0;\n for(int i=0;i<S.length();i++){\n char s=S.charAt(i);\n char t=T.charAt(i);\n if(s!=t){\n ans++;\n }\n }\n System.out.println(ans);\n}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// スペース区切りの整数の入力
String S = sc.nextLine();
String T = sc.nextLine();
int ans=0;
for(int i=0;i<S.length();i++){
char s=S.charAt(i);
char t=T.charAt(i);
if(s!=t){
ans++;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
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,
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
],
[
351,
11
],
[
351,
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
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
14,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
12,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
88,
95
],
[
95,
96
],
[
95,
97
],
[
88,
99
],
[
99,
100
],
[
99,
101
],
[
88,
102
],
[
102,
103
],
[
102,
104
],
[
88,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
108,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
119,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
115,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
107,
140
],
[
140,
141
],
[
88,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
145,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
88,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
166,
168
],
[
158,
169
],
[
169,
170
],
[
88,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
179,
181
],
[
171,
182
],
[
182,
183
],
[
88,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
187,
197
],
[
197,
198
],
[
198,
199
],
[
186,
200
],
[
200,
201
],
[
201,
202
],
[
88,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
206,
210
],
[
210,
211
],
[
211,
212
],
[
205,
213
],
[
213,
214
],
[
213,
215
],
[
205,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
205,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
225,
228
],
[
224,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
205,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
88,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
239,
247
],
[
247,
248
],
[
247,
249
],
[
239,
250
],
[
250,
251
],
[
250,
252
],
[
239,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
239,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
239,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
269,
274
],
[
274,
275
],
[
275,
276
],
[
239,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
280,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
294,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
293,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
305,
309
],
[
293,
310
],
[
310,
311
],
[
311,
312
],
[
279,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
88,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
319,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
328,
330
],
[
325,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
324,
336
],
[
336,
337
],
[
337,
338
],
[
319,
339
],
[
339,
340
],
[
88,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
348,
349
],
[
0,
350
],
[
350,
351
],
[
350,
352
]
]
| [
"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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"final String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"if (s.equals(t)) {\n System.out.println(0);\n return;\n }",
"s.equals(t)",
"s.equals",
"s",
"t",
"{\n System.out.println(0);\n return;\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return;",
"final char[] sArray = s.toCharArray();",
"sArray",
"s.toCharArray()",
"s.toCharArray",
"s",
"final char[] tArray = t.toCharArray();",
"tArray",
"t.toCharArray()",
"t.toCharArray",
"t",
"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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();\n final String t = sc.next();\n\n if (s.equals(t)) {\n System.out.println(0);\n return;\n }\n\n final char[] sArray = s.toCharArray();\n final char[] tArray = t.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 String s = sc.next();
final String t = sc.next();
if (s.equals(t)) {
System.out.println(0);
return;
}
final char[] sArray = s.toCharArray();
final char[] tArray = t.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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n String[] S = scanner.nextLine().split(\"\");\n String[] T = scanner.nextLine().split(\"\");\n int cnt = 0;\n\n for(int i=0;i<S.length;i++){\n if(!(S[i].equals(T[i]))){\n cnt += 1;\n }\n }\n\n System.out.println(cnt);\n scanner.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n String[] S = scanner.nextLine().split(\"\");\n String[] T = scanner.nextLine().split(\"\");\n int cnt = 0;\n\n for(int i=0;i<S.length;i++){\n if(!(S[i].equals(T[i]))){\n cnt += 1;\n }\n }\n\n System.out.println(cnt);\n scanner.close();\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n String[] S = scanner.nextLine().split(\"\");\n String[] T = scanner.nextLine().split(\"\");\n int cnt = 0;\n\n for(int i=0;i<S.length;i++){\n if(!(S[i].equals(T[i]))){\n cnt += 1;\n }\n }\n\n System.out.println(cnt);\n scanner.close();\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String[] S = scanner.nextLine().split(\"\");\n String[] T = scanner.nextLine().split(\"\");\n int cnt = 0;\n\n for(int i=0;i<S.length;i++){\n if(!(S[i].equals(T[i]))){\n cnt += 1;\n }\n }\n\n System.out.println(cnt);\n scanner.close();\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String[] S = scanner.nextLine().split(\"\");",
"S",
"scanner.nextLine().split(\"\")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\"\"",
"String[] T = scanner.nextLine().split(\"\");",
"T",
"scanner.nextLine().split(\"\")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\"\"",
"int cnt = 0;",
"cnt",
"0",
"for(int i=0;i<S.length;i++){\n if(!(S[i].equals(T[i]))){\n cnt += 1;\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 cnt += 1;\n }\n }",
"{\n if(!(S[i].equals(T[i]))){\n cnt += 1;\n }\n }",
"if(!(S[i].equals(T[i]))){\n cnt += 1;\n }",
"!(S[i].equals(T[i]))",
"(S[i].equals(T[i]))",
"S[i].equals",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n cnt += 1;\n }",
"cnt += 1",
"cnt",
"1",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"scanner.close()",
"scanner.close",
"scanner",
"String[]args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[]args){
Scanner scanner = new Scanner(System.in);
String[] S = scanner.nextLine().split("");
String[] T = scanner.nextLine().split("");
int cnt = 0;
for(int i=0;i<S.length;i++){
if(!(S[i].equals(T[i]))){
cnt += 1;
}
}
System.out.println(cnt);
scanner.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,
14,
2,
4,
18,
13,
4,
18,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
33,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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 {\n Scanner in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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 in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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 in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String S = in.next();",
"S",
"in.next()",
"in.next",
"in",
"String T = in.next();",
"T",
"in.next()",
"in.next",
"in",
"int count = 0;",
"count",
"0",
"if (S.length() == T.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 }",
"S.length() == T.length()",
"S.length()",
"S.length",
"S",
"T.length()",
"T.length",
"T",
"{\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 }",
"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\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n String S = in.next();\n String T = in.next();\n int count = 0;\n if (S.length() == T.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 in=new Scanner(System.in);
String S = in.next();
String T = in.next();
int count = 0;
if (S.length() == T.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,
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,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
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
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.Scanner;\n\n/**\n * 172 Beginner\n * B:Minor Change\n */\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}",
"main",
"{\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}",
"java.util.Scanner inData = new Scanner(System.in);",
"inData",
"new Scanner(System.in)",
"String s = inData.nextLine();",
"s",
"inData.nextLine()",
"inData.nextLine",
"inData",
"String t = inData.nextLine();",
"t",
"inData.nextLine()",
"inData.nextLine",
"inData",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}",
"{\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}",
"if (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;",
"!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",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"inData.close()",
"inData.close",
"inData",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t// input\n\t\tjava.util.Scanner inData = new Scanner(System.in);\n\n\t\tString s = inData.nextLine();\n\t\tString t = inData.nextLine();\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tinData.close();\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
/**
* 172 Beginner
* B:Minor Change
*/
public class Main {
public static void main(String[] args){
// input
java.util.Scanner inData = new Scanner(System.in);
String s = inData.nextLine();
String t = inData.nextLine();
int cnt = 0;
for (int i = 0; i < s.length(); i++) {
if (!s.substring(i,i+1).equals(t.substring(i, i+1))) cnt++;
}
System.out.println(cnt);
inData.close();
}
}
|
[
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,
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
],
[
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
],
[
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\n\tpublic static void main(String[] args) {\n\t\t// TODO 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\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 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\n\t}",
"main",
"{\n\t\t// TODO 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int iRes = 0;",
"iRes",
"0",
"String str1 = sc.nextLine();",
"str1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String str2 = sc.nextLine();",
"str2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] strArray1 = str1.split(\"\");",
"strArray1",
"str1.split(\"\")",
"str1.split",
"str1",
"\"\"",
"String[] strArray2 = str2.split(\"\");",
"strArray2",
"str2.split(\"\")",
"str2.split",
"str2",
"\"\"",
"for(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\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 (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}",
"if (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}",
"!strArray1[i].equals(strArray2[i])",
"strArray1[i].equals(strArray2[i])",
"strArray1[i].equals",
"strArray1[i]",
"strArray1",
"i",
"strArray2[i]",
"strArray2",
"i",
"{\n\t\t\t\tiRes++;\n\t\t\t}",
"iRes++",
"iRes",
"System.out.println(iRes)",
"System.out.println",
"System.out",
"System",
"System.out",
"iRes",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 172_B\n\t\tScanner sc = new Scanner(System.in);\n\t\tint iRes = 0;\n\n\t\tString str1 = sc.nextLine();\n\t\tString str2 = sc.nextLine();\n\t\tString[] strArray1 = str1.split(\"\");\n\t\tString[] strArray2 = str2.split(\"\");\n\n\t\tfor(int i = 0; i < str1.length(); i++) {\n\t\t\tif (!strArray1[i].equals(strArray2[i])) {\n\t\t\t\tiRes++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(iRes);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 172_B
Scanner sc = new Scanner(System.in);
int iRes = 0;
String str1 = sc.nextLine();
String str2 = sc.nextLine();
String[] strArray1 = str1.split("");
String[] strArray2 = str2.split("");
for(int i = 0; i < str1.length(); i++) {
if (!strArray1[i].equals(strArray2[i])) {
iRes++;
}
}
System.out.println(iRes);
}
}
|
[
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,
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,
30,
40,
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
],
[
4,
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
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
43,
57
],
[
57,
58
],
[
43,
59
],
[
59,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
]
]
| [
"import java.util.Scanner;\nclass Main {\n static Scanner scan = new Scanner(System.in);\n public static void main(String[] args) {\n String S = scan.next();\n String T = scan.next();\n int i = 0;\n int j = 0;\n int count = 0;\n while(i < S.length() && j < T.length()) {\n if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n static Scanner scan = new Scanner(System.in);\n public static void main(String[] args) {\n String S = scan.next();\n String T = scan.next();\n int i = 0;\n int j = 0;\n int count = 0;\n while(i < S.length() && j < T.length()) {\n if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\n }\n System.out.println(count);\n }\n}",
"Main",
"static Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args) {\n String S = scan.next();\n String T = scan.next();\n int i = 0;\n int j = 0;\n int count = 0;\n while(i < S.length() && j < T.length()) {\n if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\n }\n System.out.println(count);\n }",
"main",
"{\n String S = scan.next();\n String T = scan.next();\n int i = 0;\n int j = 0;\n int count = 0;\n while(i < S.length() && j < T.length()) {\n if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\n }\n System.out.println(count);\n }",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"String T = scan.next();",
"T",
"scan.next()",
"scan.next",
"scan",
"int i = 0;",
"i",
"0",
"int j = 0;",
"j",
"0",
"int count = 0;",
"count",
"0",
"while(i < S.length() && j < T.length()) {\n if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\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 if(S.charAt(i) != T.charAt(j)){\n count++;\n }\n i++;\n j++;\n }",
"if(S.charAt(i) != T.charAt(j)){\n count++;\n }",
"S.charAt(i) != T.charAt(j)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(j)",
"T.charAt",
"T",
"j",
"{\n count++;\n }",
"count++",
"count",
"i++",
"i",
"j++",
"j",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
static Scanner scan = new Scanner(System.in);
public static void main(String[] args) {
String S = scan.next();
String T = scan.next();
int i = 0;
int j = 0;
int count = 0;
while(i < S.length() && j < T.length()) {
if(S.charAt(i) != T.charAt(j)){
count++;
}
i++;
j++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
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,
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
],
[
82,
11
],
[
82,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
16,
22
],
[
12,
23
],
[
23,
24
],
[
12,
25
],
[
25,
26
],
[
82,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
71,
72
],
[
29,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
27,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n\n\n/* Name of the class has to be \"Main\" only if the class is public. */\n\n\n\npublic class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}\n}\n\n\n\n\n \n ",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}\n}",
"Main",
"static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}",
"mod",
"{ \n return (a%m + m) % m; \n}",
"return (a%m + m) % m;",
"(a%m + m) % m",
"(a%m + m)",
"a%m",
"a",
"m",
"m",
"m",
"int a",
"a",
"int m",
"m",
"public static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}",
"main",
"{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}",
"Scanner scn = new Scanner(System.in) ;",
"scn",
"new Scanner(System.in)",
"String s = scn.nextLine() ;",
"s",
"scn.nextLine()",
"scn.nextLine",
"scn",
"String t = scn.nextLine() ;",
"t",
"scn.nextLine()",
"scn.nextLine",
"scn",
"int count = 0 ;",
"count",
"0",
"for(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \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) )count++ ;\n \n \n \n}",
"{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \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{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}\n}",
"public class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nString s = scn.nextLine() ;\nString t = scn.nextLine() ; int count = 0 ;\n\nfor(int i = 0 ; i < s.length() ; i++ )\n{\n if(s.charAt(i) != t.charAt(i) )count++ ;\n \n \n \n}\n\nSystem.out.println(count) ;\n \n}\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
static int mod(int a, int m)
{
return (a%m + m) % m;
}
public static void main (String[] args) throws java.lang.Exception
{Scanner scn = new Scanner(System.in) ;
String s = scn.nextLine() ;
String t = scn.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,
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
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\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 a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int c = 0;",
"c",
"0",
"for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < b.length()",
"i",
"b.length()",
"b.length",
"b",
"i++",
"i++",
"i",
"{\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }",
"{\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }",
"if (b.charAt(i) != a.charAt(i)) {\n c++;\n }",
"b.charAt(i) != a.charAt(i)",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"{\n c++;\n }",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n\n int c = 0;\n for (int i = 0; i < b.length(); i++) {\n if (b.charAt(i) != a.charAt(i)) {\n c++;\n }\n }\n System.out.println(c);\n }\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int c = 0;
for (int i = 0; i < b.length(); i++) {
if (b.charAt(i) != a.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,
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
],
[
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
]
]
| [
"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();\n String t = sc.next();\n int n =s.length(), res = 0;\n \n for(int i = 0; i < n; i++) {\n if(s.charAt(i) != t.charAt(i))\n res++;\n }\n \n System.out.println(res);\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(), res = 0;\n \n for(int i = 0; i < n; i++) {\n if(s.charAt(i) != t.charAt(i))\n res++;\n }\n \n System.out.println(res);\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(), res = 0;\n \n for(int i = 0; i < n; i++) {\n if(s.charAt(i) != t.charAt(i))\n res++;\n }\n \n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n int n =s.length(), res = 0;\n \n for(int i = 0; i < n; i++) {\n if(s.charAt(i) != t.charAt(i))\n res++;\n }\n \n System.out.println(res);\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",
"res = 0;",
"res",
"0",
"for(int i = 0; i < n; i++) {\n if(s.charAt(i) != t.charAt(i))\n res++;\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 res++;\n }",
"{\n if(s.charAt(i) != t.charAt(i))\n res++;\n }",
"if(s.charAt(i) != t.charAt(i))\n res++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"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(), res = 0;
for(int i = 0; i < n; i++) {
if(s.charAt(i) != t.charAt(i))
res++;
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
4,
18,
13,
0,
18,
36,
13,
4,
18,
13,
23,
13,
12,
13,
30,
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,
30,
40,
13,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
111,
8
],
[
8,
9
],
[
111,
10
],
[
10,
11
],
[
111,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
111,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
32,
54
],
[
54,
55
],
[
111,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
58,
97
],
[
97,
98
],
[
111,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
99,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String S;\n String T;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }\n \n //解答処理\n private int solve() {\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String S;\n String T;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }\n \n //解答処理\n private int solve() {\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}",
"Main",
"//フィールド\n Scanner sc;",
"sc",
"String S;",
"S",
"String T;",
"T",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Main m = new Main(sc);",
"m",
"new Main(sc)",
"m.show(m.solve())",
"m.show",
"m",
"m.solve()",
"m.solve",
"m",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"//入力\n Main(Scanner sc) {\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }",
"Main",
"{\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.S = sc.next()",
"this.S",
"this",
"this.S",
"sc.next()",
"sc.next",
"sc",
"this.T = sc.next()",
"this.T",
"this",
"this.T",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"//解答処理\n private int solve() {\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }",
"solve",
"{\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }",
"int count = 0;",
"count",
"0",
"if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }",
"!(S.equals(T))",
"(S.equals(T))",
"S.equals",
"S",
"T",
"{\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }",
"for (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}",
"{\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}",
"if (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \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\tcount++;\n \t\t}",
"count++",
"count",
"return count;",
"count",
"//出力\n public void show(int answer) {\n System.out.println(answer);\n }",
"show",
"{\n System.out.println(answer);\n }",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"int answer",
"answer",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String S;\n String T;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }\n \n //解答処理\n private int solve() {\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String S;\n String T;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.S = sc.next();\n this.T = sc.next();\n }\n \n //解答処理\n private int solve() {\n int count = 0;\n if (!(S.equals(T))) {\n \tfor (int i=0; i<S.length(); i++) {\n \t\tif (S.charAt(i) != T.charAt(i)) {\n \t\t\tcount++;\n \t\t}\n \t}\n }\n \n return count;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
Main m = new Main(sc);
m.show(m.solve());
sc.close();
}
//フィールド
Scanner sc;
String S;
String T;
//入力
Main(Scanner sc) {
this.sc = sc;
this.S = sc.next();
this.T = sc.next();
}
//解答処理
private int solve() {
int count = 0;
if (!(S.equals(T))) {
for (int i=0; i<S.length(); i++) {
if (S.charAt(i) != T.charAt(i)) {
count++;
}
}
}
return count;
}
//出力
public void show(int answer) {
System.out.println(answer);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
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
],
[
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) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String S = in.next();",
"S",
"in.next()",
"in.next",
"in",
"String T = in.next();",
"T",
"in.next()",
"in.next",
"in",
"int n = 0;",
"n",
"0",
"String SArray[] = S.split(\"\");",
"SArray",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String TArray[] = T.split(\"\");",
"TArray",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"for(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\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\tn++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}",
"if(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\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\tn++;\n\t\t\t}",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString S = in.next();\n\t\tString T = in.next();\n\t\tint n = 0;\n\t\t\n\t\tString SArray[] = S.split(\"\");\n\t\tString TArray[] = T.split(\"\");\n\t\t\n\t\tfor(int i = 0;i < SArray.length;i++) {\n\t\t\tif(!SArray[i].equals(TArray[i])) {\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(n);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String S = in.next();
String T = in.next();
int n = 0;
String SArray[] = S.split("");
String TArray[] = T.split("");
for(int i = 0;i < SArray.length;i++) {
if(!SArray[i].equals(TArray[i])) {
n++;
}
}
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,
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 public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n 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 s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n System.out.println(count);\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 count=0;",
"count",
"0",
"for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"++i",
"++i",
"i",
"{\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }",
"{\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }",
"if(s1.charAt(i)!=s2.charAt(i))\n count++;",
"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 public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n 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 s1=sc.next();\n String s2=sc.next();\n int count=0;\n for(int i=0;i<s1.length();++i) {\n if(s1.charAt(i)!=s2.charAt(i))\n count++;\n \n }\n 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 s1=sc.next();
String s2=sc.next();
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
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
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String S = s.next();",
"S",
"s.next()",
"s.next",
"s",
"String T = s.next();",
"T",
"s.next()",
"s.next",
"s",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}",
"{\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}",
"if(S.charAt(i) != T.charAt(i)) count++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tString S = s.next();\n\tString T = s.next();\n\tint count = 0;\n\tfor(int i = 0; i < S.length(); i++){\n\t\tif(S.charAt(i) != T.charAt(i)) count++;\n\t}\n\tSystem.out.println(count);\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String S = s.next();
String T = s.next();
int count = 0;
for(int i = 0; i < S.length(); i++){
if(S.charAt(i) != T.charAt(i)) count++;
}
System.out.println(count);
}
} |
[
7,
6,
12,
13,
30,
29,
2,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
2,
13,
13,
2,
13,
4,
13,
2,
13,
13,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
40,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
41,
13,
4,
13,
13,
2,
13,
17,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
17,
17,
29,
13,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
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,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
23,
13,
12,
13,
30,
42,
40,
4,
18,
13,
30,
38,
5,
13,
30,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
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,
6,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
2,
13
],
[
13,
14
],
[
2,
15
],
[
15,
16
],
[
0,
17
],
[
17,
18
],
[
17,
19
],
[
0,
20
],
[
20,
21
],
[
20,
22
],
[
0,
23
],
[
458,
24
],
[
458,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
458,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
458,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
49,
66
],
[
66,
67
],
[
47,
68
],
[
68,
69
],
[
47,
70
],
[
70,
71
],
[
47,
72
],
[
72,
73
],
[
458,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
78,
83
],
[
83,
84
],
[
74,
85
],
[
85,
86
],
[
458,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
91,
96
],
[
87,
97
],
[
97,
98
],
[
87,
99
],
[
99,
100
],
[
458,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
103,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
103,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
103,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
101,
139
],
[
139,
140
],
[
101,
141
],
[
141,
142
],
[
458,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
149,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
145,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
145,
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
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
143,
183
],
[
183,
184
],
[
458,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
192,
197
],
[
197,
198
],
[
197,
199
],
[
192,
200
],
[
200,
201
],
[
201,
202
],
[
192,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
187,
209
],
[
209,
210
],
[
185,
211
],
[
211,
212
],
[
185,
213
],
[
213,
214
],
[
458,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
215,
219
],
[
219,
220
],
[
215,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
223,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
221,
234
],
[
234,
235
],
[
221,
236
],
[
236,
237
],
[
215,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
244,
248
],
[
240,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
249,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
249,
259
],
[
259,
260
],
[
260,
261
],
[
249,
262
],
[
263,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
269,
270
],
[
268,
271
],
[
238,
272
],
[
272,
273
],
[
458,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
274,
278
],
[
278,
279
],
[
274,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
280,
289
],
[
289,
290
],
[
274,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
294,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
293,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
274,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
316,
319
],
[
319,
320
],
[
274,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
325,
328
],
[
328,
329
],
[
274,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
337,
342
],
[
342,
343
],
[
342,
344
],
[
337,
345
],
[
345,
346
],
[
346,
347
],
[
337,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
332,
355
],
[
355,
356
],
[
330,
357
],
[
357,
358
],
[
274,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
366,
371
],
[
371,
372
],
[
371,
373
],
[
366,
374
],
[
374,
375
],
[
375,
376
],
[
366,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
361,
384
],
[
384,
385
],
[
359,
386
],
[
386,
387
],
[
458,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
390,
396
],
[
396,
397
],
[
388,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
403,
405
],
[
401,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
408,
410
],
[
401,
411
],
[
411,
412
],
[
412,
413
],
[
401,
414
],
[
415,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
418,
422
],
[
400,
423
],
[
423,
424
],
[
398,
425
],
[
425,
426
],
[
388,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
430,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
437,
439
],
[
430,
440
],
[
440,
441
],
[
441,
442
],
[
430,
443
],
[
444,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
451
],
[
429,
452
],
[
452,
453
],
[
427,
454
],
[
454,
455
],
[
388,
456
],
[
0,
457
],
[
457,
458
],
[
457,
459
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t}",
"public int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}",
"compare",
"{\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}",
"return p1.u-p2.u;",
"p1.u-p2.u",
"p1.u",
"p1",
"p1.u",
"p2.u",
"p2",
"p2.u",
"Pair p1",
"p1",
"Pair p2",
"p2",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Main",
"static long mod=(long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"public static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}",
"main",
"{\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}",
"Writer out=new Writer(System.out);",
"out",
"new Writer(System.out)",
"Reader in=new Reader(System.in);",
"in",
"new Reader(System.in)",
"int ts=1;",
"ts",
"1",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}",
"tri",
"{\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}",
"if(c<a+b && c>abs(a-b)) return true;",
"c<a+b && c>abs(a-b)",
"c<a+b",
"c",
"a+b",
"a",
"b",
"c>abs(a-b)",
"c",
"abs(a-b)",
"abs",
"a-b",
"a",
"b",
"return true;",
"true",
"return false;",
"false",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}",
"abs",
"{\n\t\treturn a>0 ? a : -a;\n\t}",
"return a>0 ? a : -a;",
"a>0 ? a : -a",
"a>0",
"a",
"0",
"a",
"-a",
"a",
"int a",
"a",
"static int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}",
"max",
"{\n\t\treturn a>b ? a : b;\n\t}",
"return a>b ? a : b;",
"a>b ? a : b",
"a>b",
"a",
"b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}",
"pow",
"{\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}",
"if(m==0) return 1;",
"m==0",
"m",
"0",
"return 1;",
"1",
"int temp=pow(n,m/2);",
"temp",
"pow(n,m/2)",
"pow",
"n",
"m/2",
"m",
"2",
"long res=(((long)temp*temp)%mod);",
"res",
"(((long)temp*temp)%mod)",
"((long)temp*temp)",
"(long)temp",
"temp",
"mod",
"if(m%2==0) return (int)res;",
"m%2==0",
"m%2",
"m",
"2",
"0",
"return (int)res;",
"(int)res",
"return (int)((res*n)%mod);",
"(int)((res*n)%mod)",
"(res*n)",
"res",
"n",
"mod",
"int n",
"n",
"int m",
"m",
"static void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"ArrayList<Integer> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i:a) list.add(i);",
"int i",
"a",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i=0; i<a.length; i++) a[i]=list.get(i);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i]=list.get(i);",
"a[i]=list.get(i)",
"a[i]",
"a",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"int[] a",
"a",
"static int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}",
"array",
"{\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n; i++) a[i]=value;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=value;",
"a[i]=value",
"a[i]",
"a",
"i",
"value",
"return a;",
"a",
"int n",
"n",
"int value",
"value",
"static class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"Pair",
"int u",
"u",
"v;",
"v",
"Pair(int u, int v){this.u=u; this.v=v;}",
"Pair",
"{this.u=u; this.v=v;}",
"this.u=u",
"this.u",
"this",
"this.u",
"u",
"this.v=v",
"this.v",
"this",
"this.v",
"v",
"int u",
"u",
"int v",
"v",
"static void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}",
"sort",
"{\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}",
"List<Pair> al=new ArrayList<>(Arrays.asList(coll));",
"al",
"new ArrayList<>(Arrays.asList(coll))",
"Collections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t})",
"Collections.sort",
"Collections",
"al",
"new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t}",
"for(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<al.size()",
"i",
"al.size()",
"al.size",
"al",
"i++",
"i++",
"i",
"{\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"{\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"coll[i]=al.get(i)",
"coll[i]",
"coll",
"i",
"al.get(i)",
"al.get",
"al",
"i",
"Pair [] coll",
"coll",
"static class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}",
"Reader",
"BufferedReader br;",
"br",
"StringTokenizer to;",
"to",
"Reader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}",
"Reader",
"{\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}",
"br=new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"to=new StringTokenizer(\"\")",
"to",
"new StringTokenizer(\"\")",
"InputStream stream",
"stream",
"String next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}",
"next",
"{\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}",
"while(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}",
"!to.hasMoreTokens()",
"to.hasMoreTokens()",
"to.hasMoreTokens",
"to",
"{\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}",
"try {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}",
"catch(IOException e) {}",
"IOException e",
"{}",
"{\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}",
"to=new StringTokenizer(br.readLine())",
"to",
"new StringTokenizer(br.readLine())",
"return to.nextToken();",
"to.nextToken()",
"to.nextToken",
"to",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n ;i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"readLongArray",
"{\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"long a[]=new long[n];",
"a",
"new long[n]",
"n",
"for(int i=0; i<n ;i++) a[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextLong();",
"a[i]=nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"static class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}",
"Writer",
"Writer(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}",
"Writer",
"{\n\t\t\tsuper(stream);\n\t\t}",
"super(stream)",
"super",
"stream",
"OutputStream stream",
"stream",
"void println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"println",
"{\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"for(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"print(array[i]+\" \")",
"print",
"array[i]+\" \"",
"array[i]",
"array",
"i",
"\" \"",
"println()",
"println",
"int [] array",
"array",
"void println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"println",
"{\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"for(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"print(array[i]+\" \")",
"print",
"array[i]+\" \"",
"array[i]",
"array",
"i",
"\" \"",
"println()",
"println",
"long [] array",
"array",
"PrintWriter",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tString s=in.next();\n\t\t\tString c=in.next();\n\t\t\tint count=0;\n\t\t\tfor(int i=0; i<s.length(); i++) {\n\t\t\t\tif(s.charAt(i)!=c.charAt(i)) count++;\n\t\t\t}\n\t\t\tout.println(count);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
static long mod=(long)1e9+7;
public static void main(String[] args) throws IOException {
Writer out=new Writer(System.out);
Reader in=new Reader(System.in);
int ts=1;
outer: while(ts-->0) {
String s=in.next();
String c=in.next();
int count=0;
for(int i=0; i<s.length(); i++) {
if(s.charAt(i)!=c.charAt(i)) count++;
}
out.println(count);
}
out.close();
}
static boolean tri(int a, int b, int c) {
if(c<a+b && c>abs(a-b)) return true;
return false;
}
/*********************************** UTILITY CODE BELOW **************************************/
static int abs(int a) {
return a>0 ? a : -a;
}
static int max(int a, int b) {
return a>b ? a : b;
}
static int pow(int n, int m) {
if(m==0) return 1;
int temp=pow(n,m/2);
long res=(((long)temp*temp)%mod);
if(m%2==0) return (int)res;
return (int)((res*n)%mod);
}
static class Pair{
int u, v;
Pair(int u, int v){this.u=u; this.v=v;}
static void sort(Pair [] coll) {
List<Pair> al=new ArrayList<>(Arrays.asList(coll));
Collections.sort(al,new Comparator<Pair>() {
public int compare(Pair p1, Pair p2) {
return p1.u-p2.u;
}
});
for(int i=0; i<al.size(); i++) {
coll[i]=al.get(i);
}
}
}
static void sort(int[] a) {
ArrayList<Integer> list=new ArrayList<>();
for (int i:a) list.add(i);
Collections.sort(list);
for (int i=0; i<a.length; i++) a[i]=list.get(i);
}
static int [] array(int n, int value) {
int a[]=new int[n];
for(int i=0; i<n; i++) a[i]=value;
return a;
}
static class Reader{
BufferedReader br;
StringTokenizer to;
Reader(InputStream stream){
br=new BufferedReader(new InputStreamReader(stream));
to=new StringTokenizer("");
}
String next() {
while(!to.hasMoreTokens()) {
try {
to=new StringTokenizer(br.readLine());
}catch(IOException e) {}
}
return to.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
int [] readArray(int n) {
int a[]=new int[n];
for(int i=0; i<n ;i++) a[i]=nextInt();
return a;
}
long [] readLongArray(int n) {
long a[]=new long[n];
for(int i=0; i<n ;i++) a[i]=nextLong();
return a;
}
}
static class Writer extends PrintWriter{
Writer(OutputStream stream){
super(stream);
}
void println(int [] array) {
for(int i=0; i<array.length; i++) {
print(array[i]+" ");
}
println();
}
void println(long [] array) {
for(int i=0; i<array.length; i++) {
print(array[i]+" ");
}
println();
}
}
} |
[
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,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
4,
18,
13,
0,
18,
36,
13,
4,
18,
13,
4,
13,
18,
36,
13,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
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
],
[
31,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
35,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
43,
69
],
[
69,
70
],
[
43,
71
],
[
71,
72
],
[
35,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
73,
101
],
[
101,
102
],
[
73,
103
],
[
103,
104
],
[
73,
105
],
[
105,
106
],
[
35,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\n\t}\n\n}\n\nclass MinorChange{\n\tchar [] s;\n\tchar [] t;\n\tprivate int count;\n\t\n\tMinorChange(String s,String t){\n\t\tthis.s=s.toCharArray();\n\t\tthis.t=t.toCharArray();\n\t\t\n\t\tcount(this.s,this.t,s);\n\t\t\n\t}\n\tvoid count(char []s,char[]t,String str) {\n\t\t\n\t\tfor(int i=0;i<str.length();i++) {\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}\n\t\t\n\t}\n\tpublic String toString() {\n\t\treturn count+\"\";\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s=scan.next();\n\t\tString t=scan.next();\n\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\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\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\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\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\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",
"MinorChange a=new MinorChange(s,t);",
"a",
"new MinorChange(s,t)",
"System.out.println(a.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.toString()",
"a.toString",
"a",
"String[] args",
"args",
"class MinorChange{\n\tchar [] s;\n\tchar [] t;\n\tprivate int count;\n\t\n\tMinorChange(String s,String t){\n\t\tthis.s=s.toCharArray();\n\t\tthis.t=t.toCharArray();\n\t\t\n\t\tcount(this.s,this.t,s);\n\t\t\n\t}\n\tvoid count(char []s,char[]t,String str) {\n\t\t\n\t\tfor(int i=0;i<str.length();i++) {\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}\n\t\t\n\t}\n\tpublic String toString() {\n\t\treturn count+\"\";\n\t}\n}",
"MinorChange",
"char [] s;",
"s",
"char [] t;",
"t",
"private int count;",
"count",
"MinorChange(String s,String t){\n\t\tthis.s=s.toCharArray();\n\t\tthis.t=t.toCharArray();\n\t\t\n\t\tcount(this.s,this.t,s);\n\t\t\n\t}",
"MinorChange",
"{\n\t\tthis.s=s.toCharArray();\n\t\tthis.t=t.toCharArray();\n\t\t\n\t\tcount(this.s,this.t,s);\n\t\t\n\t}",
"this.s=s.toCharArray()",
"this.s",
"this",
"this.s",
"s.toCharArray()",
"s.toCharArray",
"s",
"this.t=t.toCharArray()",
"this.t",
"this",
"this.t",
"t.toCharArray()",
"t.toCharArray",
"t",
"count(this.s,this.t,s)",
"count",
"this.s",
"this",
"this.s",
"this.t",
"this",
"this.t",
"s",
"String s",
"s",
"String t",
"t",
"void count(char []s,char[]t,String str) {\n\t\t\n\t\tfor(int i=0;i<str.length();i++) {\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}\n\t\t\n\t}",
"count",
"{\n\t\t\n\t\tfor(int i=0;i<str.length();i++) {\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}\n\t\t\n\t}",
"for(int i=0;i<str.length();i++) {\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}",
"{\n\t\t\tif(s[i]!=t[i]) count++;\n\t\t}",
"if(s[i]!=t[i]) count++;",
"s[i]!=t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"count++",
"count",
"char []s",
"s",
"char[]t",
"t",
"String str",
"str",
"public String toString() {\n\t\treturn count+\"\";\n\t}",
"toString",
"{\n\t\treturn count+\"\";\n\t}",
"return count+\"\";",
"count+\"\"",
"count",
"\"\"",
"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\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\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\n MinorChange a=new MinorChange(s,t);\n System.out.println(a.toString());\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();
MinorChange a=new MinorChange(s,t);
System.out.println(a.toString());
}
}
class MinorChange{
char [] s;
char [] t;
private int count;
MinorChange(String s,String t){
this.s=s.toCharArray();
this.t=t.toCharArray();
count(this.s,this.t,s);
}
void count(char []s,char[]t,String str) {
for(int i=0;i<str.length();i++) {
if(s[i]!=t[i]) count++;
}
}
public String toString() {
return count+"";
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
20,
17,
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,
0,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
47,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n\n String s = stdIn.next();\n String t = stdIn.next();\n char[] s1 = new char[200000];\n char[] s2 = new char[200000];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n\n String s = stdIn.next();\n String t = stdIn.next();\n char[] s1 = new char[200000];\n char[] s2 = new char[200000];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n\n String s = stdIn.next();\n String t = stdIn.next();\n char[] s1 = new char[200000];\n char[] s2 = new char[200000];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n\n String s = stdIn.next();\n String t = stdIn.next();\n char[] s1 = new char[200000];\n char[] s2 = new char[200000];\n int count = 0;\n for (int i = 0; i < s.length(); i++) {\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }\n System.out.println(count);\n }",
"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",
"char[] s1 = new char[200000];",
"s1",
"new char[200000]",
"200000",
"char[] s2 = new char[200000];",
"s2",
"new char[200000]",
"200000",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < s.length(); i++) {\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[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 s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }",
"{\n s1[i] = s.charAt(i);\n s2[i] = t.charAt(i);\n if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }\n }",
"s1[i] = s.charAt(i)",
"s1[i]",
"s1",
"i",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"s2[i] = t.charAt(i)",
"s2[i]",
"s2",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if (s1[i] != s2[i]) {\n s1[i] = s2[i];\n count++;\n }",
"s1[i] != s2[i]",
"s1[i]",
"s1",
"i",
"s2[i]",
"s2",
"i",
"{\n s1[i] = s2[i];\n count++;\n }",
"s1[i] = s2[i]",
"s1[i]",
"s1",
"i",
"s2[i]",
"s2",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
String s = stdIn.next();
String t = stdIn.next();
char[] s1 = new char[200000];
char[] s2 = new char[200000];
int count = 0;
for (int i = 0; i < s.length(); i++) {
s1[i] = s.charAt(i);
s2[i] = t.charAt(i);
if (s1[i] != s2[i]) {
s1[i] = s2[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,
17,
17,
41,
13,
4,
18,
4,
18,
13,
17,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
18,
13,
13,
18,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
23,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] line_S = sc.nextLine().split(\"\", 0);",
"line_S",
"sc.nextLine().split(\"\", 0)",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"0",
"String[] line_T = sc.nextLine().split(\"\", 0);",
"line_T",
"sc.nextLine().split(\"\", 0)",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"0",
"int con = 0;",
"con",
"0",
"for (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line_S.length",
"i",
"line_S.length",
"line_S",
"line_S.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}",
"if (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}",
"line_S[i].compareTo(line_T[i]) != 0",
"line_S[i].compareTo(line_T[i])",
"line_S[i].compareTo",
"line_S[i]",
"line_S",
"i",
"line_T[i]",
"line_T",
"i",
"0",
"{\n\t\t\t\tcon++;\n\t\t\t}",
"con++",
"con",
"System.out.println(con)",
"System.out.println",
"System.out",
"System",
"System.out",
"con",
"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[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\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[] line_S = sc.nextLine().split(\"\", 0);\n\t\tString[] line_T = sc.nextLine().split(\"\", 0);\n\t\tint con = 0;\n\t\tfor (int i = 0; i < line_S.length; i++) {\n\t\t\tif (line_S[i].compareTo(line_T[i]) != 0) {\n\t\t\t\tcon++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(con);\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] line_S = sc.nextLine().split("", 0);
String[] line_T = sc.nextLine().split("", 0);
int con = 0;
for (int i = 0; i < line_S.length; i++) {
if (line_S[i].compareTo(line_T[i]) != 0) {
con++;
}
}
System.out.println(con);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
28,
13,
4,
18,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
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
],
[
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
37,
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\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 sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\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 sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\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.next();\n String T = sc.next();\n sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }\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 sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }\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",
"sc.close()",
"sc.close",
"sc",
"int count = 0;",
"count",
"0",
"int idx = 0;",
"idx",
"0",
"for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }",
"char string",
"S.toCharArray()",
"S.toCharArray",
"S",
"{\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }",
"{\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }",
"char x = T.charAt(idx);",
"x",
"T.charAt(idx)",
"T.charAt",
"T",
"idx",
"if (x != string) {\n count++;\n }",
"x != string",
"x",
"string",
"{\n count++;\n }",
"count++",
"count",
"idx++",
"idx",
"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 sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\n }\n\n System.out.println(count);\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 sc.close();\n\n int count = 0;\n int idx = 0;\n for (char string : S.toCharArray()) {\n char x = T.charAt(idx);\n if (x != string) {\n count++;\n }\n idx++;\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.next();
String T = sc.next();
sc.close();
int count = 0;
int idx = 0;
for (char string : S.toCharArray()) {
char x = T.charAt(idx);
if (x != string) {
count++;
}
idx++;
}
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,
40,
13,
4,
18,
18,
13,
13,
2,
17,
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
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))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 Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }\n System.out.println(\"\"+count);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }\n System.out.println(\"\"+count);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }\n System.out.println(\"\"+count);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s1 = scan.next()",
"s1",
"scan.next()",
"scan.next",
"scan",
"s2=scan.next();",
"s2",
"scan.next()",
"scan.next",
"scan",
"int count = 0;",
"count",
"0",
"for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\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))count++;\n }",
"{\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }",
"if(s1.charAt(i)!=s2.charAt(i))count++;",
"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",
"\"\"",
"count",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }\n System.out.println(\"\"+count);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String s1 = scan.next(),s2=scan.next();\n int count = 0;\n for(int i=0;i<s1.length();i++){\n if(s1.charAt(i)!=s2.charAt(i))count++;\n }\n System.out.println(\"\"+count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String s1 = scan.next(),s2=scan.next();
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,
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,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
68,
11
],
[
68,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
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
],
[
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
],
[
56,
58
],
[
14,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
12,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"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 S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String S = reader.readLine();",
"S",
"reader.readLine()",
"reader.readLine",
"reader",
"String T = reader.readLine();",
"T",
"reader.readLine()",
"reader.readLine",
"reader",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\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)) count += 1;\n }",
"{\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }",
"if (S.charAt(i) != T.charAt(i)) count += 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",
"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 S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\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 S = reader.readLine();\n String T = reader.readLine();\n int count = 0;\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) count += 1;\n }\n System.out.println(count);\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String S = reader.readLine();
String T = reader.readLine();
int count = 0;
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) != T.charAt(i)) count += 1;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
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
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
43,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\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\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"String s2 = sc.next();",
"s2",
"sc.next()",
"sc.next",
"sc",
"int counter = s1.length();",
"counter",
"s1.length()",
"s1.length",
"s1",
"for(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s1.length()",
"i",
"s1.length()",
"s1.length",
"s1",
"i++",
"i++",
"i",
"{\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}",
"{\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}",
"if(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}",
"s1.substring( i, i + 1).equals (s2.substring(i, i + 1))",
"s1.substring( i, i + 1).equals",
"s1.substring( i, i + 1)",
"s1.substring",
"s1",
"i",
"i + 1",
"i",
"1",
"s2.substring(i, i + 1)",
"s2.substring",
"s2",
"i",
"i + 1",
"i",
"1",
"{\n\t\t\t\tcounter -= 1;\n\t\t\t}",
"counter -= 1",
"counter",
"1",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 文字列の入力\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n int counter = s1.length();\n\t\tfor(int i = 0; i < s1.length() ; i++){\n\t\t\tif(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){\n\t\t\t\tcounter -= 1;\n\t\t\t}\t\n\t\t}\n\t\t// 出力\n\t\tSystem.out.println(counter);\n\t}\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 counter = s1.length();
for(int i = 0; i < s1.length() ; i++){
if(s1.substring( i, i + 1).equals (s2.substring(i, i + 1))){
counter -= 1;
}
}
// 出力
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,
17,
0,
13,
4,
18,
13,
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,
4,
18,
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
],
[
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
],
[
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
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(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 line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(count));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(count));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(count));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] inputA = line.split(\"\");",
"inputA",
"line.split(\"\")",
"line.split",
"line",
"\"\"",
"line = sc.nextLine()",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] inputB = line.split(\"\");",
"inputB",
"line.split(\"\")",
"line.split",
"line",
"\"\"",
"int count =0;",
"count",
"0",
"for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<inputA.length",
"i",
"inputA.length",
"inputA",
"inputA.length",
"i++",
"i++",
"i",
"{\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }",
"{\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }",
"if(!inputA[i].equals(inputB[i])){\n count++;\n }",
"!inputA[i].equals(inputB[i])",
"inputA[i].equals(inputB[i])",
"inputA[i].equals",
"inputA[i]",
"inputA",
"i",
"inputB[i]",
"inputB",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(String.valueOf(count))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(count)",
"String.valueOf",
"String",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(count));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] inputA = line.split(\"\");\n line = sc.nextLine();\n String[] inputB = line.split(\"\");\n \n int count =0;\n for(int i=0;i<inputA.length;i++){\n if(!inputA[i].equals(inputB[i])){\n count++;\n }\n }\n System.out.println(String.valueOf(count));\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
String[] inputA = line.split("");
line = sc.nextLine();
String[] inputB = line.split("");
int count =0;
for(int i=0;i<inputA.length;i++){
if(!inputA[i].equals(inputB[i])){
count++;
}
}
System.out.println(String.valueOf(count));
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
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,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
90,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
90,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
90,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
90,
24
],
[
24,
25
],
[
24,
26
],
[
90,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
29,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
49,
51
],
[
29,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
29,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
90,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"import java.util.*;\n \npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int MOD = (int)1e9 + 7;",
"MOD",
"(int)1e9 + 7",
"(int)1e9",
"7",
"final int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final long LMAX = Long.MAX_VALUE;",
"LMAX",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"int len = (int)1e7;",
"len",
"(int)1e7",
"void doIt() {\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}",
"doIt",
"{\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}",
"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 len = S.length;",
"len",
"S.length",
"S",
"S.length",
"int sum = 0;",
"sum",
"0",
"for(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}",
"{\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}",
"if(S[i] != T[i])sum++;",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"sum++",
"sum",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}",
"main",
"{\n\t\tnew Main().doIt();\n\t}",
"new Main().doIt()",
"new Main().doIt",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\tint len = S.length;\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < len; i++) {\n\t\t\tif(S[i] != T[i])sum++;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"Main"
]
| import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
final int MOD = (int)1e9 + 7;
final int MAX = Integer.MAX_VALUE;
final long LMAX = Long.MAX_VALUE;
int len = (int)1e7;
void doIt() {
char[] S = sc.next().toCharArray();
char[] T = sc.next().toCharArray();
int len = S.length;
int sum = 0;
for(int i = 0; i < len; i++) {
if(S[i] != T[i])sum++;
}
System.out.println(sum);
}
public static void main(String[] args) {
new Main().doIt();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
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,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
460,
8
],
[
460,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
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
],
[
29,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
9,
77
],
[
77,
78
],
[
460,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
79,
87
],
[
87,
88
],
[
79,
89
],
[
89,
90
],
[
79,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
91,
99
],
[
99,
100
],
[
79,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
104,
109
],
[
109,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
119,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
115,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
137,
138
],
[
103,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
79,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
146,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
146,
160
],
[
160,
161
],
[
160,
162
],
[
146,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
167,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
146,
176
],
[
176,
177
],
[
176,
178
],
[
146,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
184,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
146,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
79,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
203,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
203,
217
],
[
217,
218
],
[
217,
219
],
[
203,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
224,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
203,
233
],
[
233,
234
],
[
233,
235
],
[
203,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
236,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
241,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
203,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
79,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
265,
270
],
[
270,
271
],
[
270,
272
],
[
265,
273
],
[
273,
274
],
[
274,
275
],
[
265,
276
],
[
277,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
282
],
[
282,
283
],
[
260,
284
],
[
284,
285
],
[
258,
286
],
[
286,
287
],
[
79,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
298,
300
],
[
291,
301
],
[
301,
302
],
[
301,
303
],
[
291,
304
],
[
304,
305
],
[
305,
306
],
[
291,
307
],
[
308,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
312,
315
],
[
315,
316
],
[
315,
317
],
[
311,
318
],
[
308,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
321,
323
],
[
308,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
328,
330
],
[
308,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
290,
336
],
[
336,
337
],
[
288,
338
],
[
338,
339
],
[
288,
340
],
[
340,
341
],
[
79,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
344,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
344,
358
],
[
358,
359
],
[
358,
360
],
[
344,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
361,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
367,
370
],
[
366,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
344,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
79,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
381,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
381,
394
],
[
394,
395
],
[
394,
396
],
[
381,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
397,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
403,
406
],
[
402,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
381,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
79,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
422,
420
],
[
432,
421
],
[
429,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
426
],
[
426,
427
],
[
426,
428
],
[
429,
429
],
[
429,
430
],
[
429,
431
],
[
432,
432
],
[
432,
433
],
[
432,
434
],
[
422,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
415,
439
],
[
439,
440
],
[
79,
441
],
[
441,
442
],
[
441,
443
],
[
443,
444
],
[
444,
445
],
[
446,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
450,
452
],
[
446,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
441,
457
],
[
457,
458
],
[
0,
459
],
[
459,
460
],
[
459,
461
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n}\n\n}",
"Main",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}",
"main",
"{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Random gen = new Random();",
"gen",
"new Random()",
"int test = 1;",
"test",
"1",
"while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }",
"test-->0",
"test--",
"test",
"0",
"{\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }",
"int c = 0;",
"c",
"0",
"String initial = sc.nextLine()",
"initial",
"sc.nextLine()",
"sc.nextLine",
"sc",
"target = sc.nextLine();",
"target",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<initial.length()",
"i",
"initial.length()",
"initial.length",
"initial",
"i++",
"i++",
"i",
"{\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }",
"{\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }",
"if(initial.charAt(i)!=target.charAt(i))\n c++;",
"initial.charAt(i)!=target.charAt(i)",
"initial.charAt(i)",
"initial.charAt",
"initial",
"i",
"target.charAt(i)",
"target.charAt",
"target",
"i",
"c++",
"c",
"pw.println(c)",
"pw.println",
"pw",
"c",
"pw.close()",
"pw.close",
"pw",
"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\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n}",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"public InputReader(InputStream st) {\n this.stream = st;\n }",
"InputReader",
"{\n this.stream = st;\n }",
"this.stream = st",
"this.stream",
"this",
"this.stream",
"st",
"InputStream st",
"st",
"public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int [] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"shuffle",
"{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int i = 0, n = a.length;",
"int i = 0",
"i",
"0",
"n = a.length;",
"n",
"a.length",
"a",
"a.length",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int ind = gen.nextInt(n-i)+i;",
"ind",
"gen.nextInt(n-i)+i",
"gen.nextInt(n-i)",
"gen.nextInt",
"gen",
"n-i",
"n",
"i",
"i",
"int d = a[i];",
"d",
"a[i]",
"a",
"i",
"a[i] = a[ind]",
"a[i]",
"a",
"i",
"a[ind]",
"a",
"ind",
"a[ind] = d",
"a[ind]",
"a",
"ind",
"d",
"return a;",
"a",
"int[] a",
"a",
"Random gen",
"gen",
"public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n}\n\n}",
"public class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n int c = 0;\n String initial = sc.nextLine(), target = sc.nextLine();\n for(int i=0;i<initial.length();i++)\n {\n if(initial.charAt(i)!=target.charAt(i))\n c++;\n }\n pw.println(c);\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
PrintWriter pw = new PrintWriter(System.out);
Random gen = new Random();
int test = 1;//sc.nextInt();
while(test-->0) {
int c = 0;
String initial = sc.nextLine(), target = sc.nextLine();
for(int i=0;i<initial.length();i++)
{
if(initial.charAt(i)!=target.charAt(i))
c++;
}
pw.println(c);
}
pw.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
public InputReader(InputStream st) {
this.stream = st;
}
public int read() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int [] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public static int[] shuffle(int[] a, Random gen)
{ for(int i = 0, n = a.length;i < n;i++)
{ int ind = gen.nextInt(n-i)+i;
int d = a[i];
a[i] = a[ind];
a[ind] = d;
}
return a;
}
public String readString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
164,
17
],
[
164,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
20,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
18,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
75,
79
],
[
79,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
75,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
90,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
89,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
75,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
75,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
75,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
75,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
148,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
144,
161
],
[
161,
162
],
[
0,
163
],
[
163,
164
],
[
163,
165
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}\n\n\n\n\n\nclass FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount++;\n\t\t}",
"if (s.charAt(i) != t.charAt(i))\n\t\t\t\tcount++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"class FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"FastReader",
"{\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"br = new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"String next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}",
"nextLong",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nextDouble",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"nextLine",
"{\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tstr = br.readLine();\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString s = sc.next();\n\t\tString t = sc.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++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args)throws IOException {
FastReader sc = new FastReader();
PrintWriter pw = new PrintWriter(System.out);
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(count);
}
}
class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
13,
12,
13,
30,
0,
13,
18,
13,
13,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
29,
40,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
42,
2,
2,
0,
13,
4,
13,
40,
17,
4,
13,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
41,
13,
4,
13,
41,
13,
17,
42,
2,
2,
13,
13,
40,
4,
13,
13,
30,
0,
18,
13,
40,
13,
13,
0,
13,
4,
13,
29,
8,
2,
13,
13,
13,
4,
18,
13,
13,
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,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
7,
13
],
[
13,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
7,
22
],
[
22,
23
],
[
22,
24
],
[
7,
25
],
[
25,
26
],
[
25,
27
],
[
7,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
52,
53
],
[
52,
54
],
[
39,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
39,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
7,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
86,
92
],
[
92,
93
],
[
92,
94
],
[
86,
95
],
[
95,
96
],
[
86,
97
],
[
97,
98
],
[
98,
99
],
[
7,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
100,
106
],
[
106,
107
],
[
7,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
123,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
110,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
7,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
153,
165
],
[
165,
166
],
[
7,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
174,
179
],
[
179,
180
],
[
173,
181
],
[
181,
182
],
[
181,
183
],
[
169,
184
],
[
184,
185
],
[
7,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
193,
194
],
[
7,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
7,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
203,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
217,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
203,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
7,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
231,
240
],
[
240,
241
],
[
240,
242
],
[
231,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
243,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
253,
258
],
[
252,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
231,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
264,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
269,
273
],
[
229,
274
],
[
274,
275
],
[
7,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
288,
289
],
[
288,
290
],
[
283,
291
],
[
291,
292
],
[
292,
293
],
[
283,
294
],
[
295,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
300,
301
],
[
300,
302
],
[
278,
303
],
[
303,
304
],
[
276,
305
],
[
305,
306
],
[
276,
307
],
[
307,
308
],
[
7,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
316,
321
],
[
321,
322
],
[
321,
323
],
[
316,
324
],
[
324,
325
],
[
325,
326
],
[
316,
327
],
[
328,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
333,
334
],
[
311,
335
],
[
335,
336
],
[
309,
337
],
[
337,
338
],
[
7,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
341,
347
],
[
347,
348
],
[
347,
349
],
[
341,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
352,
357
],
[
357,
358
],
[
351,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
365,
366
],
[
365,
367
],
[
360,
368
],
[
368,
369
],
[
368,
370
],
[
341,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
341,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
388,
389
],
[
388,
390
],
[
387,
391
],
[
391,
392
],
[
391,
393
],
[
386,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
397,
401
],
[
401,
402
],
[
401,
403
],
[
386,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
406,
410
],
[
385,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
7,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
417,
421
],
[
421,
422
],
[
417,
423
],
[
423,
424
],
[
423,
425
],
[
417,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
431,
432
],
[
428,
433
],
[
433,
434
],
[
427,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
441,
442
],
[
441,
443
],
[
436,
444
],
[
444,
445
],
[
444,
446
],
[
417,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
451,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
417,
459
],
[
459,
460
],
[
459,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
464,
466
],
[
463,
467
],
[
467,
468
],
[
467,
469
],
[
462,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
477,
478
],
[
477,
479
],
[
462,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
482,
486
],
[
461,
487
],
[
487,
488
],
[
487,
489
],
[
489,
490
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\nclass Main {\n\n Scanner in;\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n//----------------------------------------------------------------------------------------------------//\n \n\n void solve() throws IOException {\n int t = 1;\n //t = ni();\n while (t-- > 0) {\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }\n\n }\n//----------------------------------------------------------------------------------------------------//\n\n void run() throws Exception {\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }\n\n private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }\n\n private double nd() {\n return Double.parseDouble(ns());\n }\n\n private char nc() {\n return (char) skip();\n }\n\n private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }\n\n private int[] na(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n\n private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n /*private boolean oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n \n private void tr(Object... o) {\n if (!oj) {\n System.out.println(Arrays.deepToString(o));\n \n }\n }*/\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\n Scanner in;\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n//----------------------------------------------------------------------------------------------------//\n \n\n void solve() throws IOException {\n int t = 1;\n //t = ni();\n while (t-- > 0) {\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }\n\n }\n//----------------------------------------------------------------------------------------------------//\n\n void run() throws Exception {\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }\n\n private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }\n\n private double nd() {\n return Double.parseDouble(ns());\n }\n\n private char nc() {\n return (char) skip();\n }\n\n private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }\n\n private int[] na(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n\n private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n /*private boolean oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n \n private void tr(Object... o) {\n if (!oj) {\n System.out.println(Arrays.deepToString(o));\n \n }\n }*/\n\n}",
"Main",
"Scanner in;",
"in",
"InputStream is;",
"is",
"PrintWriter out;",
"out",
"String INPUT = \"\";",
"INPUT",
"\"\"",
"private byte[] inbuf = new byte[1024];",
"inbuf",
"new byte[1024]",
"1024",
"public int lenbuf = 0",
"lenbuf",
"0",
"ptrbuf = 0;",
"ptrbuf",
"0",
"void solve() throws IOException {\n int t = 1;\n //t = ni();\n while (t-- > 0) {\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }\n\n }",
"solve",
"{\n int t = 1;\n //t = ni();\n while (t-- > 0) {\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }\n\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0) {\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n char[] S=ns().toCharArray();\n char[] T=ns().toCharArray();\n int a=0;\n for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\n }\n out.println(a);\n }",
"char[] S=ns().toCharArray();",
"S",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"char[] T=ns().toCharArray();",
"T",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"int a=0;",
"a",
"0",
"for (int i = 0; i < S.length; i++) {\n if(S[i]!=T[i])a++;\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])a++;\n }",
"{\n if(S[i]!=T[i])a++;\n }",
"if(S[i]!=T[i])a++;",
"S[i]!=T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"a++",
"a",
"out.println(a)",
"out.println",
"out",
"a",
"void run() throws Exception {\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }",
"run",
"{\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws Exception {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }",
"readByte",
"{\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }",
"if (lenbuf == -1) {\n throw new InputMismatchException();\n }",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }",
"ptrbuf >= lenbuf",
"ptrbuf",
"lenbuf",
"{\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }",
"ptrbuf = 0",
"ptrbuf",
"0",
"try {\n lenbuf = is.read(inbuf);\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 lenbuf = is.read(inbuf);\n }",
"lenbuf = is.read(inbuf)",
"lenbuf",
"is.read(inbuf)",
"is.read",
"is",
"inbuf",
"if (lenbuf <= 0) {\n return -1;\n }",
"lenbuf <= 0",
"lenbuf",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return inbuf[ptrbuf++];",
"inbuf[ptrbuf++]",
"inbuf",
"ptrbuf++",
"ptrbuf",
"private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }",
"isSpaceChar",
"{\n return !(c >= 33 && c <= 126);\n }",
"return !(c >= 33 && c <= 126);",
"!(c >= 33 && c <= 126)",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }",
"skip",
"{\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }",
"int b;",
"b",
"while ((b = readByte()) != -1 && isSpaceChar(b));",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"private double nd() {\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"private char nc() {\n return (char) skip();\n }",
"nc",
"{\n return (char) skip();\n }",
"return (char) skip();",
"(char) skip()",
"skip",
"private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"ns",
"{\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{ // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\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",
"private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"ns",
"{\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"char[] buf = new char[n];",
"buf",
"new char[n]",
"n",
"int b = skip()",
"b",
"skip()",
"skip",
"p = 0;",
"p",
"0",
"while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }",
"p < n && !(isSpaceChar(b))",
"p < n",
"p",
"n",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{\n buf[p++] = (char) b;\n b = readByte();\n }",
"buf[p++] = (char) b",
"buf[p++]",
"buf",
"p++",
"p",
"(char) b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return n == p ? buf : Arrays.copyOf(buf, p);",
"n == p ? buf : Arrays.copyOf(buf, p)",
"n == p",
"n",
"p",
"buf",
"Arrays.copyOf(buf, p)",
"Arrays.copyOf",
"Arrays",
"buf",
"p",
"int n",
"n",
"private char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }",
"nm",
"{\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }",
"char[][] map = new char[n][];",
"map",
"new char[n][]",
"n",
"for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = ns(m);\n }",
"{\n map[i] = ns(m);\n }",
"map[i] = ns(m)",
"map[i]",
"map",
"i",
"ns(m)",
"ns",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"private int[] na(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"na",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\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] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = ni();\n }",
"{\n a[i] = ni();\n }",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"ni",
"{\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"nl",
"{\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte"
]
|
import java.util.*;
import java.io.*;
class Main {
Scanner in;
InputStream is;
PrintWriter out;
String INPUT = "";
//----------------------------------------------------------------------------------------------------//
void solve() throws IOException {
int t = 1;
//t = ni();
while (t-- > 0) {
char[] S=ns().toCharArray();
char[] T=ns().toCharArray();
int a=0;
for (int i = 0; i < S.length; i++) {
if(S[i]!=T[i])a++;
}
out.println(a);
}
}
//----------------------------------------------------------------------------------------------------//
void run() throws Exception {
is = System.in;
out = new PrintWriter(System.out);
//long s = System.currentTimeMillis();
solve();
out.flush();
//tr(System.currentTimeMillis() - s + "ms");
}
public static void main(String[] args) throws Exception {
new Main().run();
}
private byte[] inbuf = new byte[1024];
public int lenbuf = 0, ptrbuf = 0;
private int readByte() {
if (lenbuf == -1) {
throw new InputMismatchException();
}
if (ptrbuf >= lenbuf) {
ptrbuf = 0;
try {
lenbuf = is.read(inbuf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (lenbuf <= 0) {
return -1;
}
}
return inbuf[ptrbuf++];
}
private boolean isSpaceChar(int c) {
return !(c >= 33 && c <= 126);
}
private int skip() {
int b;
while ((b = readByte()) != -1 && isSpaceChar(b));
return b;
}
private double nd() {
return Double.parseDouble(ns());
}
private char nc() {
return (char) skip();
}
private String ns() {
int b = skip();
StringBuilder sb = new StringBuilder();
while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ')
//if(b!=' ') to remove spaces in Str when taking spaces in Str
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
private char[] ns(int n) {
char[] buf = new char[n];
int b = skip(), p = 0;
while (p < n && !(isSpaceChar(b))) {
buf[p++] = (char) b;
b = readByte();
}
return n == p ? buf : Arrays.copyOf(buf, p);
}
private char[][] nm(int n, int m) {
char[][] map = new char[n][];
for (int i = 0; i < n; i++) {
map[i] = ns(m);
}
return map;
}
private int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = ni();
}
return a;
}
private int ni() {
int num = 0, b;
boolean minus = false;
while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));
if (b == '-') {
minus = true;
b = readByte();
}
while (true) {
if (b >= '0' && b <= '9') {
num = num * 10 + (b - '0');
} else {
return minus ? -num : num;
}
b = readByte();
}
}
private long nl() {
long num = 0;
int b;
boolean minus = false;
while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));
if (b == '-') {
minus = true;
b = readByte();
}
while (true) {
if (b >= '0' && b <= '9') {
num = num * 10 + (b - '0');
} else {
return minus ? -num : num;
}
b = readByte();
}
}
/*private boolean oj = System.getProperty("ONLINE_JUDGE") != null;
private void tr(Object... o) {
if (!oj) {
System.out.println(Arrays.deepToString(o));
}
}*/
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
166,
23
],
[
166,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
166,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
90,
100
],
[
100,
101
],
[
61,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
59,
106
],
[
106,
107
],
[
59,
108
],
[
108,
109
],
[
59,
110
],
[
110,
111
],
[
166,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
112,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
118,
127
],
[
127,
128
],
[
112,
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
],
[
112,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
0,
165
],
[
165,
166
],
[
165,
167
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Problem solver = new Problem();",
"solver",
"new Problem()",
"solver.solve(0, in, out)",
"solver.solve",
"solver",
"0",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }\n\n }",
"Problem",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }",
"solve",
"{\n String s = in.next(), t = in.next();\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 out.println(count);\n }",
"String s = in.next()",
"s",
"in.next()",
"in.next",
"in",
"t = in.next();",
"t",
"in.next()",
"in.next",
"in",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < s.length(); i++) {\n if(s.charAt(i) != t.charAt(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 if(s.charAt(i) != t.charAt(i))\n count++;\n }",
"{\n if(s.charAt(i) != t.charAt(i))\n count++;\n }",
"if(s.charAt(i) != t.charAt(i))\n count++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"count++",
"count",
"out.println(count)",
"out.println",
"out",
"count",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n String s = in.next(), t = in.next();\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 out.println(count);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Problem solver = new Problem();
solver.solve(0, in, out);
out.close();
}
static class Problem {
public void solve(int testNumber, InputReader in, PrintWriter out) {
String s = in.next(), t = in.next();
int count = 0;
for(int i = 0; i < s.length(); i++) {
if(s.charAt(i) != t.charAt(i))
count++;
}
out.println(count);
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
4,
18,
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
],
[
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
],
[
8,
61
],
[
61,
62
],
[
62,
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\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] S = sc.next().toCharArray();",
"S",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"char[] T = sc.next().toCharArray();",
"T",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"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",
"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\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\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\n\t\t// 入力値の取得\n\t\tchar[] S = sc.next().toCharArray();\n\t\tchar[] T = sc.next().toCharArray();\n\t\t\n\t\tint count = 0;\n\t\t\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\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 入力値の取得
char[] S = sc.next().toCharArray();
char[] T = sc.next().toCharArray();
int count = 0;
// 結果の出力
for (int i = 0; i < S.length; i++) {
if (S[i] != T[i]) {
count++;
}
}
System.out.println(count);
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,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
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.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\n }\n }",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\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 res=s.length;",
"res",
"s.length",
"s",
"s.length",
"for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if(s[i] == t[i]){\n res--;\n }\n }",
"{\n if(s[i] == t[i]){\n res--;\n }\n }",
"if(s[i] == t[i]){\n res--;\n }",
"s[i] == t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"{\n res--;\n }",
"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){\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\n }\n }",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n char[] s = sc.next().toCharArray();\n char[] t = sc.next().toCharArray();\n\n int res=s.length;\n for(int i=0; i<s.length; i++){\n if(s[i] == t[i]){\n res--;\n }\n }\n System.out.println(res);\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 res=s.length;
for(int i=0; i<s.length; i++){
if(s[i] == t[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,
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
],
[
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
],
[
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
],
[
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.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n String T = sc.next();\n int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n String T = sc.next();\n int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n String T = sc.next();\n int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; 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\n String S = sc.next();\n String T = sc.next();\n int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; 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 N = S.length();",
"N",
"S.length()",
"S.length",
"S",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < N; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n ans++;\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 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 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 int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n String T = sc.next();\n int N = S.length();\n \n int ans = 0;\n for (int i = 0; i < N; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int N = S.length();
int 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,
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.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}",
"Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"in",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"String t = in.next();",
"t",
"in.next()",
"in.next",
"in",
"int r = 0;",
"r",
"0",
"for (int i = 0; i < s.length(); i++)\n\t\t\tif (s.charAt(i) != t.charAt(i))\n\t\t\t\tr++;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"if (s.charAt(i) != t.charAt(i))\n\t\t\t\tr++;",
"if (s.charAt(i) != t.charAt(i))\n\t\t\t\tr++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"r++",
"r",
"System.out.println(r)",
"System.out.println",
"System.out",
"System",
"System.out",
"r",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tint r = 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\tr++;\n\t\tSystem.out.println(r);\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
String s = in.next();
String t = in.next();
int r = 0;
for (int i = 0; i < s.length(); i++)
if (s.charAt(i) != t.charAt(i))
r++;
System.out.println(r);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
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
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
]
]
| [
"import java.util.*;\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint c = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint c = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint c = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tint c = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"Scanner\tsc = 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 c = 0;",
"c",
"0",
"for(int i=0;i<s.length();i++){\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\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\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}",
"{\n\t\t\tchar ch1=s.charAt(i);\n\t\t\tchar ch2=t.charAt(i);\n\t\t\tif(ch1!=ch2)\n\t\t\t\tc++;\n\t\t}",
"char ch1=s.charAt(i);",
"ch1",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"char ch2=t.charAt(i);",
"ch2",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"if(ch1!=ch2)\n\t\t\t\tc++;",
"ch1!=ch2",
"ch1",
"ch2",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int c = 0;
for(int i=0;i<s.length();i++){
char ch1=s.charAt(i);
char ch2=t.charAt(i);
if(ch1!=ch2)
c++;
}
System.out.println(c);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
196,
20
],
[
196,
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
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
23,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
21,
73
],
[
73,
74
],
[
196,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
77,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
75,
115
],
[
115,
116
],
[
196,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
117,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
128,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
127,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
117,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
117,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
164,
169
],
[
169,
170
],
[
169,
171
],
[
164,
172
],
[
172,
173
],
[
173,
174
],
[
164,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
159,
182
],
[
182,
183
],
[
157,
184
],
[
184,
185
],
[
117,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
193,
194
],
[
0,
195
],
[
195,
196
],
[
195,
197
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.StringTokenizer;\n\npublic class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"String a = fs.next();",
"a",
"fs.next()",
"fs.next",
"fs",
"String b = fs.next();",
"b",
"fs.next()",
"fs.next",
"fs",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n if(a.charAt(i) != b.charAt(i)) ans++;\n }",
"{\n if(a.charAt(i) != b.charAt(i)) ans++;\n }",
"if(a.charAt(i) != b.charAt(i)) ans++;",
"a.charAt(i) != b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }",
"sort",
"{\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }",
"ArrayList<Integer>l = new ArrayList<>();",
"l",
"new ArrayList<>()",
"for(int i: a)\n l.add(i);",
"int i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l)",
"Collections.sort",
"Collections",
"l",
"for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i] = l.get(i);",
"a[i] = l.get(i)",
"a[i]",
"a",
"i",
"l.get(i)",
"l.get",
"l",
"i",
"int[] a",
"a",
"static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }",
"catch(IOException e){\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt(){\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"readArray",
"{\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong(){\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}",
"public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String a = fs.next();\n String b = fs.next();\n int ans = 0;\n for(int i = 0; i < a.length(); i++){\n if(a.charAt(i) != b.charAt(i)) ans++;\n }\n System.out.println(ans);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.StringTokenizer;
public class Main{
public static void main(String[] args) {
FastScanner fs = new FastScanner();
String a = fs.next();
String b = fs.next();
int ans = 0;
for(int i = 0; i < a.length(); i++){
if(a.charAt(i) != b.charAt(i)) ans++;
}
System.out.println(ans);
}
static void sort(int[] a){
ArrayList<Integer>l = new ArrayList<>();
for(int i: a)
l.add(i);
Collections.sort(l);
for(int i = 0; i < a.length; i++)
a[i] = l.get(i);
}
static class FastScanner{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next(){
while(!st.hasMoreTokens())
try{
st = new StringTokenizer(br.readLine());
} catch(IOException e){
e.printStackTrace();
}
return st.nextToken();
}
int nextInt(){
return Integer.parseInt(next());
}
int[] readArray(int n){
int[] a = new int[n];
for(int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
long nextLong(){
return Long.parseLong(next());
}
}
} |
[
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,
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
],
[
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
],
[
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
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"\n\nimport java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"String S = keyboard.next();",
"S",
"keyboard.next()",
"keyboard.next",
"keyboard",
"String T = keyboard.next();",
"T",
"keyboard.next()",
"keyboard.next",
"keyboard",
"int Slong = S.length();",
"Slong",
"S.length()",
"S.length",
"S",
"int count = 0;",
"count",
"0",
"for (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<Slong",
"i",
"Slong",
"i++",
"i++",
"i",
"{\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}",
"S.charAt(i) == T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tString S = keyboard.next();\t\n\t\tString T = keyboard.next();\t\n\t\t\n\t\tint Slong = S.length();\n\t\t\n\t\tint count = 0;\n\t\tfor (int i=0; i<Slong; i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\tSystem.out.println(count);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main"
]
|
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
String S = keyboard.next();
String T = keyboard.next();
int Slong = S.length();
int count = 0;
for (int i=0; i<Slong; i++) {
if(S.charAt(i) == T.charAt(i)) {
}else {
count++;
}
}
System.out.println(count);
keyboard.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,
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
]
]
| [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }\n \n}\n \n\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String a=in.nextLine();",
"a",
"in.nextLine()",
"in.nextLine",
"in",
"String b=in.nextLine();",
"b",
"in.nextLine()",
"in.nextLine",
"in",
"int count=0;",
"count",
"0",
"for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <b.length()",
"i",
"b.length()",
"b.length",
"b",
"i++",
"i++",
"i",
"{\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }",
"{\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }",
"if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }",
"a.charAt(i)!=b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"{\n count++;\n \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 in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }\n \n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n String a=in.nextLine();\n String b=in.nextLine();\n int count=0;\n for (int i = 0; i <b.length(); i++) {\n if (a.charAt(i)!=b.charAt(i)) {\n count++;\n \n }\n \n }\n System.out.println(count);\n \n \n }\n \n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String a=in.nextLine();
String b=in.nextLine();
int count=0;
for (int i = 0; i <b.length(); i++) {
if (a.charAt(i)!=b.charAt(i)) {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
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,
13,
23,
13,
23,
13,
12,
13,
30,
0,
13,
20,
4,
13,
23,
13,
12,
13,
30,
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,
13,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
154,
11
],
[
154,
12
],
[
12,
13
],
[
154,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
154,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
25,
34
],
[
34,
35
],
[
154,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
36,
46
],
[
46,
47
],
[
36,
48
],
[
48,
49
],
[
154,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
50,
58
],
[
58,
59
],
[
154,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
62,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
62,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
62,
112
],
[
112,
113
],
[
112,
114
],
[
154,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
115,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
115,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
115,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
115,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
0,
153
],
[
153,
154
],
[
153,
155
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }\n}",
"Main",
"private static FastScanner sc;",
"sc",
"private static void print(Object o) {\n System.out.print(o);\n }",
"print",
"{\n System.out.print(o);\n }",
"System.out.print(o)",
"System.out.print",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void println(Object o) {\n System.out.println(o);\n }",
"println",
"{\n System.out.println(o);\n }",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }",
"printf",
"{\n \tSystem.out.printf(s, data);\t\n }",
"System.out.printf(s, data)",
"System.out.printf",
"System.out",
"System",
"System.out",
"s",
"data",
"String s",
"s",
"Object... data",
"data",
"public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }",
"main",
"{\n sc = new FastScanner();\n\n solve();\n }",
"sc = new FastScanner()",
"sc",
"new FastScanner()",
"solve()",
"solve",
"String[] args",
"args",
"private static void solve() {\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }",
"solve",
"{\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }",
"String first = sc.ns();",
"first",
"sc.ns()",
"sc.ns",
"sc",
"String second = sc.ns();",
"second",
"sc.ns()",
"sc.ns",
"sc",
"int res = 0;",
"res",
"0",
"char[] f = first.toCharArray();",
"f",
"first.toCharArray()",
"first.toCharArray",
"first",
"char[] s = second.toCharArray();",
"s",
"second.toCharArray()",
"second.toCharArray",
"second",
"for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < f.length",
"i",
"f.length",
"f",
"f.length",
"i++",
"i++",
"i",
"{\n if(f[i] != s[i]) {\n res++;\n }\n }",
"{\n if(f[i] != s[i]) {\n res++;\n }\n }",
"if(f[i] != s[i]) {\n res++;\n }",
"f[i] != s[i]",
"f[i]",
"f",
"i",
"s[i]",
"s",
"i",
"{\n res++;\n }",
"res++",
"res",
"println(res)",
"println",
"res",
"private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }",
"FastScanner",
"private Scanner sc;",
"sc",
"FastScanner() {\n sc = new Scanner(System.in);\n }",
"FastScanner",
"{\n sc = new Scanner(System.in);\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"public int ni() {\n return sc.nextInt();\n }",
"ni",
"{\n return sc.nextInt();\n }",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public String ns() {\n return sc.nextLine();\n }",
"ns",
"{\n return sc.nextLine();\n }",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"public long nl() {\n return sc.nextLong();\n }",
"nl",
"{\n return sc.nextLong();\n }",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"public double nd() {\n return sc.nextDouble();\n }",
"nd",
"{\n return sc.nextDouble();\n }",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"public class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }\n}",
"public class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n String first = sc.ns();\n String second = sc.ns();\n int res = 0;\n\n char[] f = first.toCharArray();\n char[] s = second.toCharArray();\n\n for(int i = 0; i < f.length; i++) {\n if(f[i] != s[i]) {\n res++;\n }\n }\n\n println(res);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
private static FastScanner sc;
private static class FastScanner {
private Scanner sc;
FastScanner() {
sc = new Scanner(System.in);
}
public int ni() {
return sc.nextInt();
}
public String ns() {
return sc.nextLine();
}
public long nl() {
return sc.nextLong();
}
public double nd() {
return sc.nextDouble();
}
}
private static void print(Object o) {
System.out.print(o);
}
private static void println(Object o) {
System.out.println(o);
}
private static void printf(String s, Object... data) {
System.out.printf(s, data);
}
public static void main(String[] args) {
sc = new FastScanner();
solve();
}
private static void solve() {
String first = sc.ns();
String second = sc.ns();
int res = 0;
char[] f = first.toCharArray();
char[] s = second.toCharArray();
for(int i = 0; i < f.length; i++) {
if(f[i] != s[i]) {
res++;
}
}
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,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
52,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
52,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
]
]
| [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\t\tString str1 = sc.next();\n\t\tString str2 = sc.next();\n \tint num = str1.length();\n \n \tint cnt = 0;\n \tchar[] ary1 = new char[num];\n \tchar[] ary2 = new char[num];\n\n \tfor(int i = 0; i < str1.length() ; i++){\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }\n \tSystem.out.println(cnt);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\t\tString str1 = sc.next();\n\t\tString str2 = sc.next();\n \tint num = str1.length();\n \n \tint cnt = 0;\n \tchar[] ary1 = new char[num];\n \tchar[] ary2 = new char[num];\n\n \tfor(int i = 0; i < str1.length() ; i++){\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }\n \tSystem.out.println(cnt);\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\t\tString str1 = sc.next();\n\t\tString str2 = sc.next();\n \tint num = str1.length();\n \n \tint cnt = 0;\n \tchar[] ary1 = new char[num];\n \tchar[] ary2 = new char[num];\n\n \tfor(int i = 0; i < str1.length() ; i++){\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }\n \tSystem.out.println(cnt);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n\t\tString str1 = sc.next();\n\t\tString str2 = sc.next();\n \tint num = str1.length();\n \n \tint cnt = 0;\n \tchar[] ary1 = new char[num];\n \tchar[] ary2 = new char[num];\n\n \tfor(int i = 0; i < str1.length() ; i++){\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }\n \tSystem.out.println(cnt);\n }",
"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 num = str1.length();",
"num",
"str1.length()",
"str1.length",
"str1",
"int cnt = 0;",
"cnt",
"0",
"char[] ary1 = new char[num];",
"ary1",
"new char[num]",
"num",
"char[] ary2 = new char[num];",
"ary2",
"new char[num]",
"num",
"for(int i = 0; i < str1.length() ; i++){\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }",
"{\n \tary1[i] = str1.charAt(i);\n \tary2[i] = str2.charAt(i);\n\n \tif(ary1[i] != ary2[i]){\n \tcnt++;\n }\n }",
"ary1[i] = str1.charAt(i)",
"ary1[i]",
"ary1",
"i",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"ary2[i] = str2.charAt(i)",
"ary2[i]",
"ary2",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"if(ary1[i] != ary2[i]){\n \tcnt++;\n }",
"ary1[i] != ary2[i]",
"ary1[i]",
"ary1",
"i",
"ary2[i]",
"ary2",
"i",
"{\n \tcnt++;\n }",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str1 = sc.next();
String str2 = sc.next();
int num = str1.length();
int cnt = 0;
char[] ary1 = new char[num];
char[] ary2 = new char[num];
for(int i = 0; i < str1.length() ; i++){
ary1[i] = str1.charAt(i);
ary2[i] = str2.charAt(i);
if(ary1[i] != ary2[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,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
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
],
[
67,
5
],
[
67,
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
],
[
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
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\npublic class Main{\n\n public static void main(final String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n public static void main(final String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\n\n }\n}",
"Main",
"public static void main(final String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\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 c = S.length();",
"c",
"S.length()",
"S.length",
"S",
"int cnt=0;",
"cnt",
"0",
"for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<c",
"i",
"c",
"i++",
"i++",
"i",
"if(S.charAt(i)!=T.charAt(i)){\n cnt++;\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",
"sc.close()",
"sc.close",
"sc",
"final String args[]",
"args",
"public class Main{\n\n public static void main(final String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\n\n }\n}",
"public class Main{\n\n public static void main(final String args[]) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int c = S.length();\n int cnt=0;\n for(int i=0; i<c; i++)\n if(S.charAt(i)!=T.charAt(i)){\n cnt++;\n }\n System.out.println(cnt);\n sc.close();\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(final String args[]) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int c = S.length();
int cnt=0;
for(int i=0; i<c; i++)
if(S.charAt(i)!=T.charAt(i)){
cnt++;
}
System.out.println(cnt);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
14,
40,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
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
],
[
43,
45
],
[
42,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
35,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
62,
63
],
[
62,
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 public static void main (String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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",
"char[] s_a = s.toCharArray();",
"s_a",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] t_a = t.toCharArray();",
"t_a",
"t.toCharArray()",
"t.toCharArray",
"t",
"int count = 0;",
"count",
"0",
"for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= s_a.length -1",
"i",
"s_a.length -1",
"s_a.length",
"s_a",
"s_a.length",
"1",
"i++",
"i++",
"i",
"{\n if(!(s_a[i] == t_a[i])){\n count +=1;\n }\n }",
"{\n if(!(s_a[i] == t_a[i])){\n count +=1;\n }\n }",
"if(!(s_a[i] == t_a[i])){\n count +=1;\n }",
"!(s_a[i] == t_a[i])",
"(s_a[i] == t_a[i])",
"s_a[i]",
"s_a",
"i",
"t_a[i]",
"t_a",
"i",
"{\n count +=1;\n }",
"count +=1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n public static void main (String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String t = scanner.nextLine();\n\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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\n char[] s_a = s.toCharArray();\n char[] t_a = t.toCharArray();\n\n int count = 0;\n\n for(int i = 0; i <= s_a.length -1; i++ ){\n if(!(s_a[i] == t_a[i])){\n count +=1;\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();
char[] s_a = s.toCharArray();
char[] t_a = t.toCharArray();
int count = 0;
for(int i = 0; i <= s_a.length -1; i++ ){
if(!(s_a[i] == t_a[i])){
count +=1;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
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
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
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
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.Scanner;\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 num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\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 num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\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 num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\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 num = S.length();",
"num",
"S.length()",
"S.length",
"S",
"int counts = 0;",
"counts",
"0",
"for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }",
"{\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }",
"if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n counts = counts + 1;\n }",
"counts = counts + 1",
"counts",
"counts + 1",
"counts",
"1",
"System.out.println(counts)",
"System.out.println",
"System.out",
"System",
"System.out",
"counts",
"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 num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\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 num = S.length();\n int counts = 0;\n for (int i = 0; i < num; i++) {\n if (S.charAt(i) != T.charAt(i)) {\n counts = counts + 1;\n }\n }\n System.out.println(counts);\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 num = S.length();
int counts = 0;
for (int i = 0; i < num; i++) {
if (S.charAt(i) != T.charAt(i)) {
counts = counts + 1;
}
}
System.out.println(counts);
}
}
|
[
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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\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 sc = new Scanner(System.in);\n \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[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 \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\n count++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\n count++;\n }\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String text1 = sc.next();",
"text1",
"sc.next()",
"sc.next",
"sc",
"String text2 = sc.next();",
"text2",
"sc.next()",
"sc.next",
"sc",
"char[] c1 = new char[text1.length()];",
"c1",
"new char[text1.length()]",
"text1.length()",
"text1.length",
"text1",
"char[] c2 = new char[text2.length()];",
"c2",
"new char[text2.length()]",
"text2.length()",
"text2.length",
"text2",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < text1.length()",
"i",
"text1.length()",
"text1.length",
"text1",
"i++",
"i++",
"i",
"{\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\n count++;\n }\n }",
"{\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\n count++;\n }\n }",
"c1[i] = text1.charAt(i)",
"c1[i]",
"c1",
"i",
"text1.charAt(i)",
"text1.charAt",
"text1",
"i",
"c2[i] = text2.charAt(i)",
"c2[i]",
"c2",
"i",
"text2.charAt(i)",
"text2.charAt",
"text2",
"i",
"if (c1[i] != c2[i]) {\n count++;\n }",
"c1[i] != c2[i]",
"c1[i]",
"c1",
"i",
"c2[i]",
"c2",
"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 \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[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 \n String text1 = sc.next();\n String text2 = sc.next();\n \n char[] c1 = new char[text1.length()];\n char[] c2 = new char[text2.length()];\n \n int count = 0;\n for (int i = 0; i < text1.length(); i++) {\n \tc1[i] = text1.charAt(i);\n \tc2[i] = text2.charAt(i);\n \n \tif (c1[i] != c2[i]) {\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 sc = new Scanner(System.in);
String text1 = sc.next();
String text2 = sc.next();
char[] c1 = new char[text1.length()];
char[] c2 = new char[text2.length()];
int count = 0;
for (int i = 0; i < text1.length(); i++) {
c1[i] = text1.charAt(i);
c2[i] = text2.charAt(i);
if (c1[i] != c2[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,
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,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
4,
18,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
17,
12,
13,
30,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
217,
11
],
[
217,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
70,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
70,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
85,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
95,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
84,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
70,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
70,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
70,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
70,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
143,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
139,
156
],
[
156,
157
],
[
0,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
158,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
178,
179
],
[
173,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
173,
184
],
[
184,
185
],
[
185,
186
],
[
171,
187
],
[
187,
188
],
[
158,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
158,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
202,
203
],
[
203,
204
],
[
196,
205
],
[
205,
206
],
[
158,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
0,
216
],
[
216,
217
],
[
216,
218
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }\n}\nclass FastReader{ \n BufferedReader br; \n StringTokenizer st; \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next(){ \n while (st == null || !st.hasMoreElements()) { \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt(){ \n return Integer.parseInt(next()); \n } \n long nextLong(){ \n return Long.parseLong(next()); \n } \n double nextDouble(){ \n return Double.parseDouble(next()); \n } \n String nextLine(){ \n String str = \"\"; \n try{ \n str = br.readLine(); \n } \n catch (IOException e){ \n e.printStackTrace(); \n } \n return str; \n } \n}\nclass FastWriter{\n PrintWriter out;\n FastWriter(){\n out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\tout.flush();\n }\n void pl(Object o){\n out.write(o.toString());\n\t out.write(\"\\n\");\n out.flush();\n }\n void pl(){\n out.write(\"\\n\");\n }\n void p(Object o){\n out.write(o.toString());\n }\n void close(){\n out.flush();\n out.close();\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }",
"main",
"{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"FastWriter out = new FastWriter();",
"out",
"new FastWriter()",
"String s = in.nextLine();",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"String t = in.nextLine();",
"t",
"in.nextLine()",
"in.nextLine",
"in",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"{\n if (s.charAt(i) != t.charAt(i)) ans++;\n }",
"if (s.charAt(i) != t.charAt(i)) ans++;",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"ans++",
"ans",
"out.pl(ans)",
"out.pl",
"out",
"ans",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"class FastReader{ \n BufferedReader br; \n StringTokenizer st; \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next(){ \n while (st == null || !st.hasMoreElements()) { \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt(){ \n return Integer.parseInt(next()); \n } \n long nextLong(){ \n return Long.parseLong(next()); \n } \n double nextDouble(){ \n return Double.parseDouble(next()); \n } \n String nextLine(){ \n String str = \"\"; \n try{ \n str = br.readLine(); \n } \n catch (IOException e){ \n e.printStackTrace(); \n } \n return str; \n } \n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next(){ \n while (st == null || !st.hasMoreElements()) { \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) { \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) { \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n } \n }",
"try{ \n st = new StringTokenizer(br.readLine()); \n }catch (IOException e){ \n e.printStackTrace(); \n }",
"catch (IOException e){ \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n st = new StringTokenizer(br.readLine()); \n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt(){ \n return Integer.parseInt(next()); \n }",
"nextInt",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong(){ \n return Long.parseLong(next()); \n }",
"nextLong",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble(){ \n return Double.parseDouble(next()); \n }",
"nextDouble",
"{ \n return Double.parseDouble(next()); \n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){ \n String str = \"\"; \n try{ \n str = br.readLine(); \n } \n catch (IOException e){ \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try{ \n str = br.readLine(); \n } \n catch (IOException e){ \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try{ \n str = br.readLine(); \n } \n catch (IOException e){ \n e.printStackTrace(); \n }",
"catch (IOException e){ \n e.printStackTrace(); \n }",
"IOException e",
"{ \n e.printStackTrace(); \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n str = br.readLine(); \n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"class FastWriter{\n PrintWriter out;\n FastWriter(){\n out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\tout.flush();\n }\n void pl(Object o){\n out.write(o.toString());\n\t out.write(\"\\n\");\n out.flush();\n }\n void pl(){\n out.write(\"\\n\");\n }\n void p(Object o){\n out.write(o.toString());\n }\n void close(){\n out.flush();\n out.close();\n } \n}",
"FastWriter",
"PrintWriter out;",
"out",
"FastWriter(){\n out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\tout.flush();\n }",
"FastWriter",
"{\n out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\tout.flush();\n }",
"out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"out",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"out.flush()",
"out.flush",
"out",
"void pl(Object o){\n out.write(o.toString());\n\t out.write(\"\\n\");\n out.flush();\n }",
"pl",
"{\n out.write(o.toString());\n\t out.write(\"\\n\");\n out.flush();\n }",
"out.write(o.toString())",
"out.write",
"out",
"o.toString()",
"o.toString",
"o",
"out.write(\"\\n\")",
"out.write",
"out",
"\"\\n\"",
"out.flush()",
"out.flush",
"out",
"Object o",
"o",
"void pl(){\n out.write(\"\\n\");\n }",
"pl",
"{\n out.write(\"\\n\");\n }",
"out.write(\"\\n\")",
"out.write",
"out",
"\"\\n\"",
"void p(Object o){\n out.write(o.toString());\n }",
"p",
"{\n out.write(o.toString());\n }",
"out.write(o.toString())",
"out.write",
"out",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"void close(){\n out.flush();\n out.close();\n }",
"close",
"{\n out.flush();\n out.close();\n }",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"public class Main{\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n FastWriter out = new FastWriter();\n String s = in.nextLine();\n String t = in.nextLine();\n int ans = 0;\n for (int i = 0; i < s.length(); i++){\n if (s.charAt(i) != t.charAt(i)) ans++;\n }\n out.pl(ans);\n out.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
FastReader in = new FastReader();
FastWriter out = new FastWriter();
String s = in.nextLine();
String t = in.nextLine();
int ans = 0;
for (int i = 0; i < s.length(); i++){
if (s.charAt(i) != t.charAt(i)) ans++;
}
out.pl(ans);
out.close();
}
}
class FastReader{
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next(){
while (st == null || !st.hasMoreElements()) {
try{
st = new StringTokenizer(br.readLine());
}catch (IOException e){
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt(){
return Integer.parseInt(next());
}
long nextLong(){
return Long.parseLong(next());
}
double nextDouble(){
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try{
str = br.readLine();
}
catch (IOException e){
e.printStackTrace();
}
return str;
}
}
class FastWriter{
PrintWriter out;
FastWriter(){
out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
out.flush();
}
void pl(Object o){
out.write(o.toString());
out.write("\n");
out.flush();
}
void pl(){
out.write("\n");
}
void p(Object o){
out.write(o.toString());
}
void close(){
out.flush();
out.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,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
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,
29,
13,
23,
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
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
79,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
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
],
[
42,
72
],
[
72,
73
],
[
40,
74
],
[
74,
75
],
[
40,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}\n\n\tpublic static int solve(char[] s, char[] t) {\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\treturn ans;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}\n\n\tpublic static int solve(char[] s, char[] t) {\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\treturn ans;\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}",
"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 ans = solve(s.toCharArray(), t.toCharArray());",
"ans",
"solve(s.toCharArray(), t.toCharArray())",
"solve",
"s.toCharArray()",
"s.toCharArray",
"s",
"t.toCharArray()",
"t.toCharArray",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int solve(char[] s, char[] t) {\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\treturn ans;\n\t}",
"solve",
"{\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\treturn ans;\n\t}",
"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",
"return ans;",
"ans",
"char[] s",
"s",
"char[] t",
"t",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}\n\n\tpublic static int solve(char[] s, char[] t) {\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\treturn ans;\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = scanner.next();\n\t\tString t = scanner.next();\n\t\tint ans = solve(s.toCharArray(), t.toCharArray());\n\t\tSystem.out.println(ans);\n\t}\n\n\tpublic static int solve(char[] s, char[] t) {\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\treturn ans;\n\t}\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 ans = solve(s.toCharArray(), t.toCharArray());
System.out.println(ans);
}
public static int solve(char[] s, char[] t) {
int ans = 0;
for (int i = 0; i < s.length; i++) {
if (s[i] != t[i]) {
ans++;
}
}
return 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,
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.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length()",
"i",
"a.length()",
"a.length",
"a",
"i++",
"i++",
"i",
"{\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}",
"a.charAt(i) != b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\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 a = sc.next();\n\t\tString b = sc.next();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < a.length(); i++) {\n\t\t\tif (a.charAt(i) != b.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(count);\n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int count = 0;
for (int i = 0; i < a.length(); i++) {
if (a.charAt(i) != b.charAt(i)) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
2,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
96,
8
],
[
8,
9
],
[
96,
10
],
[
10,
11
],
[
96,
12
],
[
12,
13
],
[
96,
14
],
[
14,
15
],
[
96,
16
],
[
16,
17
],
[
16,
18
],
[
96,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
21,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
21,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
21,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
76,
80
],
[
21,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
96,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tint as,kl,o;\n\tString n,m;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tint as,kl,o;\n\tString n,m;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}",
"Main",
"int as",
"as",
"kl",
"kl",
"o;",
"o",
"String n",
"n",
"m;",
"m",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public void solve() {\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}",
"solve",
"{\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}",
"n=sc.next()",
"n",
"sc.next()",
"sc.next",
"sc",
"m=sc.next()",
"m",
"sc.next()",
"sc.next",
"sc",
"String[]\tdate=n.split(\"\");",
"date",
"n.split(\"\")",
"n.split",
"n",
"\"\"",
"String[]\tdat=m.split(\"\");",
"dat",
"m.split(\"\")",
"m.split",
"m",
"\"\"",
"for(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}",
"o=0;",
"o=0",
"o",
"0",
"o<n.length()",
"o",
"n.length()",
"n.length",
"n",
"o++",
"o++",
"o",
"{\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}",
"{\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}",
"if(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}",
"date[o].equals(dat[o])",
"date[o].equals",
"date[o]",
"date",
"o",
"dat[o]",
"dat",
"o",
"{\n\t\t\tas=as+1;\n\t\t}",
"as=as+1",
"as",
"as+1",
"as",
"1",
"as=n.length()-as",
"as",
"n.length()-as",
"n.length()",
"n.length",
"n",
"as",
"System.out.println(as)",
"System.out.println",
"System.out",
"System",
"System.out",
"as",
"public static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}",
"main",
"{\n\t\tnew Main().solve();\n\t\n\t}",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tint as,kl,o;\n\tString n,m;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}",
"public class Main {\n\tint as,kl,o;\n\tString n,m;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.next();\n\tm=sc.next();\n\t//String[] date=new String[n.length()];\n\t//String[] dat=new String[n.length()];\n\t//for(o=0;o<n.length();o++) {\n\tString[]\tdate=n.split(\"\");\n\tString[]\tdat=m.split(\"\");\n\t//}\n\tfor(o=0;o<n.length();o++) {\n\t\t//System.out.println(date[o]);\n\t//\tSystem.out.println(dat[o]);\n\t\tif(date[o].equals(dat[o])) {\n\t\t\tas=as+1;\n\t\t}\n\t}\n\tas=n.length()-as;\n\tSystem.out.println(as);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
int as,kl,o;
String n,m;
Scanner sc = new Scanner(System.in);
public void solve() {
n=sc.next();
m=sc.next();
//String[] date=new String[n.length()];
//String[] dat=new String[n.length()];
//for(o=0;o<n.length();o++) {
String[] date=n.split("");
String[] dat=m.split("");
//}
for(o=0;o<n.length();o++) {
//System.out.println(date[o]);
// System.out.println(dat[o]);
if(date[o].equals(dat[o])) {
as=as+1;
}
}
as=n.length()-as;
System.out.println(as);
}
public static void main(String[] args) {
new Main().solve();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
44,
54
],
[
54,
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;\n\npublic class Main {\n public static void main(String[] args) {\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }\n}",
"Main",
"public static void main(String[] args) {\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }",
"main",
"{\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }",
"String S",
"S",
"T;",
"T",
"int cnt = 0;",
"cnt",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"S = sc.next()",
"S",
"sc.next()",
"sc.next",
"sc",
"T = sc.next()",
"T",
"sc.next()",
"sc.next",
"sc",
"for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\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 if (S.charAt(i) != T.charAt(i)) {\n cnt++;\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.print(cnt)",
"System.out.print",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n String S, T;\n int cnt = 0;\n Scanner sc = new Scanner(System.in);\n\n S = sc.next();\n T = sc.next();\n for (int i = 0; i < S.length(); i++) {\n if (S.charAt(i) != T.charAt(i)) {\n cnt++;\n }\n }\n System.out.print(cnt);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String S, T;
int cnt = 0;
Scanner sc = new Scanner(System.in);
S = sc.next();
T = sc.next();
for (int i = 0; i < S.length(); i++) {
if (S.charAt(i) != T.charAt(i)) {
cnt++;
}
}
System.out.print(cnt);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
7,
14
],
[
14,
15
],
[
7,
16
],
[
16,
17
],
[
16,
18
],
[
7,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
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
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
46,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
21,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
19,
72
],
[
72,
73
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n// https://atcoder.jp/contests/abc172/tasks/abc172_b\n\nclass Main {\n\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\n }\n }\n System.out.println(result);\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\n }\n }\n System.out.println(result);\n }\n\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"static String S",
"S",
"T;",
"T",
"static int result = 0;",
"result",
"0",
"public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\n }\n }\n System.out.println(result);\n }",
"main",
"{\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\n }\n }\n System.out.println(result);\n }",
"S = br.readLine()",
"S",
"br.readLine()",
"br.readLine",
"br",
"T = br.readLine()",
"T",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i < S.length(); i++){\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\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 char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\n }\n }",
"{\n char s = S.charAt(i);\n char t = T.charAt(i);\n if(s != t){\n result++;\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 result++;\n }",
"s != t",
"s",
"t",
"{\n result++;\n }",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
// https://atcoder.jp/contests/abc172/tasks/abc172_b
class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static String S, T;
static int result = 0;
public static void main(String[] args) throws Exception {
S = br.readLine();
T = br.readLine();
for(int i = 0; i < S.length(); i++){
char s = S.charAt(i);
char t = T.charAt(i);
if(s != t){
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,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
40,
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
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
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
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
50,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"char[] d = a.toCharArray();",
"d",
"a.toCharArray()",
"a.toCharArray",
"a",
"char[] e = b.toCharArray();",
"e",
"b.toCharArray()",
"b.toCharArray",
"b",
"int r= 0;",
"r",
"0",
"for(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < d.length",
"i",
"d.length",
"d",
"d.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}",
"if(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}",
"!(d[i]==(e[i]))",
"(d[i]==(e[i]))",
"d[i]",
"d",
"i",
"(e[i])",
"e",
"i",
"{\n\t\t\t\tr++;\n\t\t\t}",
"r++",
"r",
"System.out.println(r)",
"System.out.println",
"System.out",
"System",
"System.out",
"r",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\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\tString a = sc.next();\n\t\tString b = sc.next();\n\t\tchar[] d = a.toCharArray();\n\t\tchar[] e = b.toCharArray();\n\t\tint r= 0;\n\t\tfor(int i = 0;i < d.length;i++) {\n\t\t\tif(!(d[i]==(e[i]))) {\n\t\t\t\tr++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(r);\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
char[] d = a.toCharArray();
char[] e = b.toCharArray();
int r= 0;
for(int i = 0;i < d.length;i++) {
if(!(d[i]==(e[i]))) {
r++;
}
}
System.out.println(r);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
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,
9,
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
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
48,
58
],
[
58,
59
],
[
48,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main\n{\n public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int i,c=0;String ns=\"\";\n String s=obj.nextLine();\n String t=obj.nextLine();\n for(i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\n }\n System.out.println(c); \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int i,c=0;String ns=\"\";\n String s=obj.nextLine();\n String t=obj.nextLine();\n for(i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\n }\n System.out.println(c); \n }\n}",
"Main",
"public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int i,c=0;String ns=\"\";\n String s=obj.nextLine();\n String t=obj.nextLine();\n for(i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\n }\n System.out.println(c); \n }",
"main",
"{\n Scanner obj=new Scanner(System.in);\n int i,c=0;String ns=\"\";\n String s=obj.nextLine();\n String t=obj.nextLine();\n for(i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\n }\n System.out.println(c); \n }",
"Scanner obj=new Scanner(System.in);",
"obj",
"new Scanner(System.in)",
"int i",
"i",
"c=0;",
"c",
"0",
"String ns=\"\";",
"ns",
"\"\"",
"String s=obj.nextLine();",
"s",
"obj.nextLine()",
"obj.nextLine",
"obj",
"String t=obj.nextLine();",
"t",
"obj.nextLine()",
"obj.nextLine",
"obj",
"for(i=0;i<s.length();i++)\n {\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\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))\n c++;\n else\n continue;\n }",
"{\n if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;\n }",
"if(s.charAt(i)!=t.charAt(i))\n c++;\n else\n continue;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"c++",
"c",
"continue;",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String args[]",
"args"
]
| import java.util.*;
import java.io.*;
class Main
{
public static void main(String args[])throws IOException
{
Scanner obj=new Scanner(System.in);
int i,c=0;String ns="";
String s=obj.nextLine();
String t=obj.nextLine();
for(i=0;i<s.length();i++)
{
if(s.charAt(i)!=t.charAt(i))
c++;
else
continue;
}
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,
14,
40,
4,
18,
13,
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,
30,
40,
13,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
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
],
[
25,
26
],
[
24,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
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
],
[
58,
59
],
[
28,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
22,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\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",
"if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }",
"!str1.equals(str2)",
"str1.equals(str2)",
"str1.equals",
"str1",
"str2",
"{\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }",
"int count = 0;",
"count",
"0",
"for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }",
"{\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }",
"if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }",
"str1.charAt(i)!= str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 文字列の入力1\n String str1 = sc.nextLine();\n // 文字列の入力1\n String str2 = sc.nextLine();\n if(!str1.equals(str2)) {\n int count = 0;\n for(int i = 0;i<str1.length();i++) {\n if(str1.charAt(i)!= str2.charAt(i)) {\n count++;\n }\n }\n System.out.println(count);\n }else {\n System.out.println(0);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 文字列の入力1
String str1 = sc.nextLine();
// 文字列の入力1
String str2 = sc.nextLine();
if(!str1.equals(str2)) {
int count = 0;
for(int i = 0;i<str1.length();i++) {
if(str1.charAt(i)!= str2.charAt(i)) {
count++;
}
}
System.out.println(count);
}else {
System.out.println(0);
}
}
} |
[
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,
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
],
[
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
],
[
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
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"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",
"String[] ss = s.split(\"\");",
"ss",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String[] tt = t.split(\"\");",
"tt",
"t.split(\"\")",
"t.split",
"t",
"\"\"",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\n\t\t\t}\n\n\t\t}",
"{\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\n\t\t\t}\n\n\t\t}",
"if (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\n\t\t\t}",
"ss[i] = tt[i]",
"ss[i]",
"ss",
"i",
"tt[i]",
"tt",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString s = scanner.nextLine();\n\t\tString t = scanner.nextLine();\n\n\t\tString[] ss = s.split(\"\");\n\t\tString[] tt = t.split(\"\");\n\n\t\tint count = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\n\t\t\tif (!ss[i].equals(tt[i]) ) {\n\t\t\t\tss[i] = tt[i];\n\t\t\t\tcount++;\n//\t\t\t\tSystem.out.print(i+ \" \"+ss[i]+ \" \"+tt[i]);\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) {
Scanner scanner = new Scanner(System.in);
String s = scanner.nextLine();
String t = scanner.nextLine();
String[] ss = s.split("");
String[] tt = t.split("");
int count = 0;
for (int i = 0; i < s.length(); i++) {
if (!ss[i].equals(tt[i]) ) {
ss[i] = tt[i];
count++;
// System.out.print(i+ " "+ss[i]+ " "+tt[i]);
}
}
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,
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.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[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\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[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\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[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.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] sa = s.toCharArray();",
"sa",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] ta = t.toCharArray();",
"ta",
"t.toCharArray()",
"t.toCharArray",
"t",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sa.length",
"i",
"sa.length",
"sa",
"sa.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}",
"sa[i] != ta[i]",
"sa[i]",
"sa",
"i",
"ta[i]",
"ta",
"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\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[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\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tchar[] sa = s.toCharArray();\n\t\tchar[] ta = t.toCharArray();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < sa.length; i++) {\n\t\t\tif (sa[i] != ta[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
char[] sa = s.toCharArray();
char[] ta = t.toCharArray();
int count = 0;
for (int i = 0; i < sa.length; i++) {
if (sa[i] != ta[i]) {
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String t = br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"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",
"out.println(count)",
"out.println",
"out",
"count",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String s = br.readLine();\n String t = br.readLine();\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 out.println(count);\n out.close();\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
String s = br.readLine();
String t = br.readLine();
int count = 0;
for(int i = 0; i < s.length(); i++){
if(s.charAt(i) != t.charAt(i)){
count++;
}
}
out.println(count);
out.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
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
],
[
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 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 String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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 String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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 String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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 String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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",
"String ss[] = s.split(\"\");",
"ss",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String ts[] = t.split(\"\");",
"ts",
"t.split(\"\")",
"t.split",
"t",
"\"\"",
"int ans = 0;",
"ans",
"0",
"for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[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(!ss[i].equals(ts[i])){\n ans++;\n }\n }",
"{\n if(!ss[i].equals(ts[i])){\n ans++;\n }\n }",
"if(!ss[i].equals(ts[i])){\n ans++;\n }",
"!ss[i].equals(ts[i])",
"ss[i].equals(ts[i])",
"ss[i].equals",
"ss[i]",
"ss",
"i",
"ts[i]",
"ts",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n \n String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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 String ss[] = s.split(\"\");\n String ts[] = t.split(\"\");\n \n int ans = 0;\n for(int i = 0; i < s.length();i++){\n if(!ss[i].equals(ts[i])){\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();
String ss[] = s.split("");
String ts[] = t.split("");
int ans = 0;
for(int i = 0; i < s.length();i++){
if(!ss[i].equals(ts[i])){
ans++;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
28,
13,
4,
18,
13,
30,
30,
0,
18,
13,
13,
13,
40,
13,
0,
13,
17,
28,
13,
4,
18,
13,
30,
30,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
37,
39
],
[
40,
41
],
[
41,
42
],
[
16,
43
],
[
43,
44
],
[
43,
45
],
[
46,
47
],
[
47,
48
],
[
16,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
16,
63
],
[
63,
64
],
[
63,
65
],
[
16,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
16,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
80,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
16,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
6,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }",
"main",
"{\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }",
"Scanner tan =new Scanner(System.in);",
"tan",
"new Scanner(System.in)",
"while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }",
"tan.hasNext()",
"tan.hasNext",
"tan",
"{\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }",
"int i=0",
"i",
"0",
"sum=0;",
"sum",
"0",
"String s",
"s",
"t;",
"t",
"s=tan.next()",
"s",
"tan.next()",
"tan.next",
"tan",
"t=tan.next()",
"t",
"tan.next()",
"tan.next",
"tan",
"char []a=new char[s.length()];",
"a",
"new char[s.length()]",
"s.length()",
"s.length",
"s",
"char []b=new char[t.length()];",
"b",
"new char[t.length()]",
"t.length()",
"t.length",
"t",
"for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }",
"char c",
"s.toCharArray()",
"s.toCharArray",
"s",
"{\n a[i]=c;\n i++;\n }",
"{\n a[i]=c;\n i++;\n }",
"a[i]=c",
"a[i]",
"a",
"i",
"c",
"i++",
"i",
"i=0",
"i",
"0",
"for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }",
"char ch",
"t.toCharArray()",
"t.toCharArray",
"t",
"{\n b[i]=ch;\n i++;\n }",
"{\n b[i]=ch;\n i++;\n }",
"b[i]=ch",
"b[i]",
"b",
"i",
"ch",
"i++",
"i",
"for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j <t.length()",
"j",
"t.length()",
"t.length",
"t",
"j++",
"j++",
"j",
"{\n if(a[j]!=b[j]){\n sum++;\n }\n }",
"{\n if(a[j]!=b[j]){\n sum++;\n }\n }",
"if(a[j]!=b[j]){\n sum++;\n }",
"a[j]!=b[j]",
"a[j]",
"a",
"j",
"b[j]",
"b",
"j",
"{\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) {\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner tan =new Scanner(System.in);\n while(tan.hasNext()){\n int i=0,sum=0;\n String s,t;\n s=tan.next();\n t=tan.next();\n char []a=new char[s.length()];\n char []b=new char[t.length()];\n for (char c : s.toCharArray()){\n a[i]=c;\n i++;\n }\n i=0;\n for (char ch : t.toCharArray()){\n b[i]=ch;\n i++;\n }\n for (int j = 0; j <t.length() ; j++) {\n if(a[j]!=b[j]){\n sum++;\n }\n }\n System.out.println(sum);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner tan =new Scanner(System.in);
while(tan.hasNext()){
int i=0,sum=0;
String s,t;
s=tan.next();
t=tan.next();
char []a=new char[s.length()];
char []b=new char[t.length()];
for (char c : s.toCharArray()){
a[i]=c;
i++;
}
i=0;
for (char ch : t.toCharArray()){
b[i]=ch;
i++;
}
for (int j = 0; j <t.length() ; j++) {
if(a[j]!=b[j]){
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,
4,
18,
13,
41,
13,
17,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
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
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
8,
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
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
56,
66
],
[
66,
67
],
[
67,
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 sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\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.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\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.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\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.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int count = 0;",
"count",
"0",
"if (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}",
"s.equals(t)",
"s.equals",
"s",
"t",
"{\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"return;",
"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 sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\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.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\n\t\tint count = 0;\n\t\tif (s.equals(t)) {\n\t\t\tSystem.out.println(count);\n\t\t\treturn;\n\t\t}\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != t.charAt(i)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
sc.close();
int count = 0;
if (s.equals(t)) {
System.out.println(count);
return;
}
for (int 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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
71,
14
],
[
71,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
15,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Vector;\n\n//1, 12, 123, 1234\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Vector;",
"Vector",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\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 in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"String t = in.next();",
"t",
"in.next()",
"in.next",
"in",
"int count = 0;",
"count",
"0",
"for (int i = 0; i <s.length(); i++) {\n\t\t\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 in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\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 in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.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++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Arrays;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Vector;
//1, 12, 123, 1234
public class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
String s = in.next();
String t = in.next();
int count = 0;
for (int i = 0; i <s.length(); i++) {
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,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
4,
18,
13,
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
],
[
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
],
[
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
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\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 tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\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 tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\n }\n \n System.out.println(count);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\n }\n \n System.out.println(count);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String tmpS = scanner.next();",
"tmpS",
"scanner.next()",
"scanner.next",
"scanner",
"String S[] = tmpS.split(\"\");",
"S",
"tmpS.split(\"\")",
"tmpS.split",
"tmpS",
"\"\"",
"String tmpT = scanner.next();",
"tmpT",
"scanner.next()",
"scanner.next",
"scanner",
"String T[] = tmpT.split(\"\");",
"T",
"tmpT.split(\"\")",
"tmpT.split",
"tmpT",
"\"\"",
"int count = 0;",
"count",
"0",
"scanner.close()",
"scanner.close",
"scanner",
"for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < tmpS.length()",
"i",
"tmpS.length()",
"tmpS.length",
"tmpS",
"i++",
"i++",
"i",
"{\n if (!(S[i].equals(T[i]))){\n count++;\n }\n }",
"{\n if (!(S[i].equals(T[i]))){\n count++;\n }\n }",
"if (!(S[i].equals(T[i]))){\n count++;\n }",
"!(S[i].equals(T[i]))",
"(S[i].equals(T[i]))",
"S[i].equals",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(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 tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\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 tmpS = scanner.next();\n String S[] = tmpS.split(\"\");\n String tmpT = scanner.next();\n String T[] = tmpT.split(\"\");\n int count = 0;\n\n scanner.close();\n for (int i = 0; i < tmpS.length(); i++){\n if (!(S[i].equals(T[i]))){\n count++;\n }\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 tmpS = scanner.next();
String S[] = tmpS.split("");
String tmpT = scanner.next();
String T[] = tmpT.split("");
int count = 0;
scanner.close();
for (int i = 0; i < tmpS.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,
0,
13,
8,
2,
4,
18,
13,
13,
4,
18,
13,
13,
17,
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
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
42,
52
],
[
42,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\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 str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1 = sc.next();",
"str1",
"sc.next()",
"sc.next",
"sc",
"String str2 = sc.next();",
"str2",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }",
"{\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\n }",
"count += str1.charAt(i) != str2.charAt(i) ? 1 : 0",
"count",
"str1.charAt(i) != str2.charAt(i) ? 1 : 0",
"str1.charAt(i) != str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"1",
"0",
"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 str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\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 str1 = sc.next();\n String str2 = sc.next();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;\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 str1 = sc.next();
String str2 = sc.next();
int count = 0;
for (int i = 0; i < str1.length(); i++) {
count += str1.charAt(i) != str2.charAt(i) ? 1 : 0;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
30,
30,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
133,
8
],
[
133,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
11,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
90,
100
],
[
100,
101
],
[
101,
102
],
[
90,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
105,
116
],
[
105,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
104,
121
],
[
121,
122
],
[
121,
123
],
[
11,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
9,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\npublic class Main {\npublic static void main(String[] args) {\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\npublic static void main(String[] args) {\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}\n}",
"Main",
"public static void main(String[] args) {\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}",
"main",
"{\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}",
"Scanner sc = new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int count = 0;",
"count",
"0",
"int whilecount = 0;",
"whilecount",
"0",
"String inputS = sc.next();",
"inputS",
"sc.next()",
"sc.next",
"sc",
"String inputT = sc.next();",
"inputT",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"ArrayList<String> S = new ArrayList<String>();",
"S",
"new ArrayList<String>()",
"ArrayList<String> T = new ArrayList<String>();",
"T",
"new ArrayList<String>()",
"for(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < inputS.length()",
"i",
"inputS.length()",
"inputS.length",
"inputS",
"i++",
"i++",
"i",
"{\n\t\tS.add(inputS.substring(i, i+1));\n\t}",
"{\n\t\tS.add(inputS.substring(i, i+1));\n\t}",
"S.add(inputS.substring(i, i+1))",
"S.add",
"S",
"inputS.substring(i, i+1)",
"inputS.substring",
"inputS",
"i",
"i+1",
"i",
"1",
"for(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < inputT.length()",
"i",
"inputT.length()",
"inputT.length",
"inputT",
"i++",
"i++",
"i",
"{\n\t\tT.add(inputT.substring(i, i+1));\n\t}",
"{\n\t\tT.add(inputT.substring(i, i+1));\n\t}",
"T.add(inputT.substring(i, i+1))",
"T.add",
"T",
"inputT.substring(i, i+1)",
"inputT.substring",
"inputT",
"i",
"i+1",
"i",
"1",
"for(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < inputS.length()",
"i",
"inputS.length()",
"inputS.length",
"inputS",
"i++",
"i++",
"i",
"{\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}",
"{\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}",
"if(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}",
"S.get(whilecount).equals(T.get(whilecount))",
"S.get(whilecount).equals",
"S.get(whilecount)",
"S.get",
"S",
"whilecount",
"T.get(whilecount)",
"T.get",
"T",
"whilecount",
"{\n\n\t\t}",
"{\n\t\t\tcount += 1;\n\t\t}",
"count += 1",
"count",
"1",
"whilecount += 1",
"whilecount",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}\n}",
"public class Main {\npublic static void main(String[] args) {\n\tScanner sc = new Scanner (System.in);\n\tint count = 0;\n\tint whilecount = 0;\n\tString inputS = sc.next();\n\tString inputT = sc.next();\n\tsc.close();\n\n\tArrayList<String> S = new ArrayList<String>();\n\tArrayList<String> T = new ArrayList<String>();\n\n\tfor(int i = 0; i < inputS.length(); i++) {\n\t\tS.add(inputS.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputT.length(); i++) {\n\t\tT.add(inputT.substring(i, i+1));\n\t}\n\n\tfor(int i = 0; i < inputS.length(); i++){\n\t\tif(S.get(whilecount).equals(T.get(whilecount))) {\n\n\t\t}else {\n\t\t\tcount += 1;\n\t\t}\n\t\twhilecount += 1;\n\t}\n\tSystem.out.println(count);\n}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner (System.in);
int count = 0;
int whilecount = 0;
String inputS = sc.next();
String inputT = sc.next();
sc.close();
ArrayList<String> S = new ArrayList<String>();
ArrayList<String> T = new ArrayList<String>();
for(int i = 0; i < inputS.length(); i++) {
S.add(inputS.substring(i, i+1));
}
for(int i = 0; i < inputT.length(); i++) {
T.add(inputT.substring(i, i+1));
}
for(int i = 0; i < inputS.length(); i++){
if(S.get(whilecount).equals(T.get(whilecount))) {
}else {
count += 1;
}
whilecount += 1;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
75,
5
],
[
75,
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
],
[
63,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
]
| [
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }\n \n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }\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\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }\n \n System.out.println(count);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }\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",
"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 \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<Sarray.length",
"i",
"Sarray.length",
"Sarray",
"Sarray.length",
"i++",
"i++",
"i",
"{\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }",
"{\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }",
"if (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }",
"!Sarray[i].equals(Tarray[i])",
"Sarray[i].equals(Tarray[i])",
"Sarray[i].equals",
"Sarray[i]",
"Sarray",
"i",
"Tarray[i]",
"Tarray",
"i",
"{\n \tcount += 1;\n }",
"count += 1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 1;\n }\n }\n \n System.out.println(count);\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\t\tString T = sc.next();\n \n \tString[] Sarray = S.split(\"\");\n \tString[] Tarray = T.split(\"\");\n \n \tint count = 0;\n \tfor (int i=0; i<Sarray.length; i++){\n \tif (!Sarray[i].equals(Tarray[i])){\n \tcount += 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 sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
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,
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,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
0,
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
],
[
80,
5
],
[
80,
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
],
[
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
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\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 str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] S = str.split(\"\");",
"S",
"str.split(\"\")",
"str.split",
"str",
"\"\"",
"String str2 = sc.nextLine();",
"str2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] T = str2.split(\"\");",
"T",
"str2.split(\"\")",
"str2.split",
"str2",
"\"\"",
"int c = 0;",
"c",
"0",
"for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\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 c = c;\n } else {\n c = c+1;\n }\n }",
"{\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }",
"if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }",
"S[i].equals(T[i])",
"S[i].equals",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n c = c;\n }",
"c = c",
"c",
"c",
"{\n c = c+1;\n }",
"c = c+1",
"c",
"c+1",
"c",
"1",
"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 Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n String[] S = str.split(\"\");\n String str2 = sc.nextLine();\n String[] T = str2.split(\"\");\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if ( S[i].equals(T[i]) ) {\n c = c;\n } else {\n c = c+1;\n }\n }\n System.out.println(c);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
String[] S = str.split("");
String str2 = sc.nextLine();
String[] T = str2.split("");
int c = 0;
for (int i = 0; i < S.length; i++) {
if ( S[i].equals(T[i]) ) {
c = c;
} else {
c = c+1;
}
}
System.out.println(c);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
6,
13,
41,
13,
12,
13,
30,
4,
13,
18,
13,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
18,
36,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
40,
17,
30,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
2,
2,
2,
13,
17,
2,
17,
13,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
2,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
17,
13,
29,
2,
13,
13,
0,
13,
17,
0,
13,
2,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
18,
13,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
2,
2,
2,
13,
17,
2,
17,
13,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
2,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
17,
13,
3,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
29,
2,
13,
13,
41,
13,
17,
0,
13,
4,
18,
13,
42,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
29,
2,
2,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
18,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
42,
2,
2,
13,
40,
17,
40,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
2,
13,
40,
17,
2,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
29,
4,
18,
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,
2,
4,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
4,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
758,
11
],
[
758,
12
],
[
12,
13
],
[
758,
14
],
[
14,
15
],
[
758,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
758,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
51,
61
],
[
61,
62
],
[
23,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
758,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
758,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
77,
84
],
[
84,
85
],
[
77,
86
],
[
86,
87
],
[
87,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
77,
92
],
[
92,
93
],
[
93,
94
],
[
758,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
95,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
107,
115
],
[
115,
116
],
[
95,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
120,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
95,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
135,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
144,
146
],
[
141,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
140,
152
],
[
152,
153
],
[
135,
154
],
[
154,
155
],
[
95,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
159,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
169,
178
],
[
178,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
185,
187
],
[
180,
188
],
[
188,
189
],
[
188,
190
],
[
180,
191
],
[
191,
192
],
[
191,
193
],
[
178,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
169,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
200,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
169,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
226,
228
],
[
169,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
231,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
237,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
231,
249
],
[
249,
250
],
[
249,
251
],
[
231,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
254,
256
],
[
95,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
263,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
260,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
271,
280
],
[
280,
281
],
[
282,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
287
],
[
287,
288
],
[
287,
289
],
[
282,
290
],
[
290,
291
],
[
290,
292
],
[
282,
293
],
[
293,
294
],
[
293,
295
],
[
280,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
271,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
306,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
302,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
271,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
328,
330
],
[
271,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
333,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
344,
345
],
[
344,
346
],
[
339,
347
],
[
333,
348
],
[
348,
349
],
[
348,
350
],
[
333,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
353,
355
],
[
271,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
271,
364
],
[
364,
365
],
[
364,
366
],
[
271,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
271,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
377,
379
],
[
372,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
384,
385
],
[
384,
386
],
[
386,
387
],
[
386,
388
],
[
380,
389
],
[
389,
390
],
[
389,
391
],
[
380,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
271,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
95,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
409,
413
],
[
413,
414
],
[
406,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
415,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
422,
425
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
415,
432
],
[
432,
433
],
[
95,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
440,
444
],
[
444,
445
],
[
437,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
453,
454
],
[
446,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
456,
459
],
[
455,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
464,
465
],
[
446,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
467,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
473,
476
],
[
466,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
478,
481
],
[
477,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
485,
486
],
[
446,
487
],
[
487,
488
],
[
488,
489
],
[
489,
490
],
[
95,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
497,
501
],
[
501,
502
],
[
494,
503
],
[
503,
504
],
[
504,
505
],
[
504,
506
],
[
503,
507
],
[
507,
508
],
[
507,
509
],
[
509,
510
],
[
510,
511
],
[
503,
512
],
[
512,
513
],
[
513,
514
],
[
514,
515
],
[
514,
516
],
[
516,
517
],
[
513,
518
],
[
518,
519
],
[
518,
520
],
[
512,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
522,
525
],
[
521,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
529,
530
],
[
503,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
95,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
538,
539
],
[
538,
540
],
[
537,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
542,
547
],
[
547,
548
],
[
547,
549
],
[
542,
550
],
[
550,
551
],
[
551,
552
],
[
542,
553
],
[
554,
554
],
[
554,
555
],
[
555,
556
],
[
556,
557
],
[
556,
558
],
[
555,
559
],
[
559,
560
],
[
537,
561
],
[
561,
562
],
[
535,
563
],
[
563,
564
],
[
95,
565
],
[
565,
566
],
[
565,
567
],
[
567,
568
],
[
568,
569
],
[
568,
570
],
[
567,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
574,
576
],
[
572,
577
],
[
577,
578
],
[
577,
579
],
[
572,
580
],
[
580,
581
],
[
581,
582
],
[
572,
583
],
[
584,
584
],
[
584,
585
],
[
585,
586
],
[
586,
587
],
[
586,
588
],
[
585,
589
],
[
589,
590
],
[
590,
591
],
[
589,
592
],
[
567,
593
],
[
593,
594
],
[
565,
595
],
[
595,
596
],
[
95,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
600,
601
],
[
600,
602
],
[
603,
604
],
[
603,
605
],
[
599,
606
],
[
606,
607
],
[
607,
608
],
[
608,
609
],
[
608,
610
],
[
606,
611
],
[
611,
612
],
[
611,
613
],
[
606,
614
],
[
614,
615
],
[
615,
616
],
[
606,
617
],
[
618,
618
],
[
618,
619
],
[
619,
620
],
[
620,
621
],
[
620,
622
],
[
622,
623
],
[
622,
624
],
[
619,
625
],
[
625,
626
],
[
599,
627
],
[
627,
628
],
[
597,
629
],
[
629,
630
],
[
95,
631
],
[
631,
632
],
[
631,
633
],
[
633,
634
],
[
634,
635
],
[
634,
636
],
[
633,
638
],
[
638,
639
],
[
639,
640
],
[
640,
641
],
[
640,
642
],
[
638,
643
],
[
643,
644
],
[
643,
645
],
[
638,
646
],
[
646,
647
],
[
647,
648
],
[
638,
649
],
[
650,
650
],
[
650,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
651,
655
],
[
655,
656
],
[
633,
657
],
[
657,
658
],
[
631,
659
],
[
659,
660
],
[
95,
661
],
[
661,
662
],
[
661,
663
],
[
663,
664
],
[
664,
665
],
[
664,
666
],
[
663,
668
],
[
668,
669
],
[
669,
670
],
[
670,
671
],
[
670,
672
],
[
668,
673
],
[
673,
674
],
[
673,
675
],
[
668,
676
],
[
676,
677
],
[
677,
678
],
[
668,
679
],
[
680,
680
],
[
680,
681
],
[
681,
682
],
[
682,
683
],
[
682,
684
],
[
681,
685
],
[
685,
686
],
[
686,
687
],
[
685,
688
],
[
663,
689
],
[
689,
690
],
[
661,
691
],
[
691,
692
],
[
95,
693
],
[
693,
694
],
[
693,
695
],
[
695,
696
],
[
696,
697
],
[
696,
698
],
[
699,
700
],
[
699,
701
],
[
695,
702
],
[
702,
703
],
[
703,
704
],
[
704,
705
],
[
704,
706
],
[
702,
707
],
[
707,
708
],
[
707,
709
],
[
702,
710
],
[
710,
711
],
[
711,
712
],
[
702,
713
],
[
714,
714
],
[
714,
715
],
[
715,
716
],
[
716,
717
],
[
716,
718
],
[
718,
719
],
[
718,
720
],
[
715,
721
],
[
721,
722
],
[
695,
723
],
[
723,
724
],
[
693,
725
],
[
725,
726
],
[
95,
727
],
[
727,
728
],
[
727,
729
],
[
729,
730
],
[
730,
731
],
[
730,
732
],
[
729,
734
],
[
734,
735
],
[
735,
736
],
[
736,
737
],
[
736,
738
],
[
734,
739
],
[
739,
740
],
[
739,
741
],
[
734,
742
],
[
742,
743
],
[
743,
744
],
[
734,
745
],
[
746,
746
],
[
746,
747
],
[
747,
748
],
[
748,
749
],
[
748,
750
],
[
747,
751
],
[
751,
752
],
[
729,
753
],
[
753,
754
],
[
727,
755
],
[
755,
756
],
[
0,
757
],
[
757,
758
],
[
757,
759
]
]
| [
"import java.io.*;\nimport java.math.BigDecimal;\nimport java.util.*;\n\n@SuppressWarnings(\"unused\")\npublic class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"Main",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"final static int MOD = (int)1e9+7;",
"MOD",
"(int)1e9+7",
"(int)1e9",
"7",
"void solve(){\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }",
"solve",
"{\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }",
"String S = in.nextStr()",
"S",
"in.nextStr()",
"in.nextStr",
"in",
"T = in.nextStr();",
"T",
"in.nextStr()",
"in.nextStr",
"in",
"int cnt = 0;",
"cnt",
"0",
"for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;",
"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)) cnt++;",
"if(S.charAt(i) != T.charAt(i)) cnt++;",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"cnt++",
"cnt",
"out.println(cnt)",
"out.println",
"out",
"cnt",
"public static void main(String[] args) {\n new Main().m();\n }",
"main",
"{\n new Main().m();\n }",
"new Main().m()",
"new Main().m",
"new Main()",
"String[] args",
"args",
"private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }",
"m",
"{\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }",
"in = new FastScanner(System.in)",
"in",
"new FastScanner(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }",
"FastScanner",
"private Reader input;",
"input",
"public FastScanner() {this(System.in);}",
"FastScanner",
"{this(System.in);}",
"this(System.in)",
"this",
"System.in",
"System",
"System.in",
"public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}",
"FastScanner",
"{this.input = new BufferedReader(new InputStreamReader(stream));}",
"this.input = new BufferedReader(new InputStreamReader(stream))",
"this.input",
"this",
"this.input",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"close",
"{\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n this.input.close();\n }",
"this.input.close()",
"this.input.close",
"this.input",
"this",
"this.input",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }",
"nextLong",
"{\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }",
"try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return -1;\n }",
"IOException e",
"{\n e.printStackTrace();\n return -1;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return -1;",
"-1",
"1",
"{\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n }",
"int sign = 1;",
"sign",
"1",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b)",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"b != '-'",
"b",
"'-'",
"b != '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }",
"b == '-'",
"b",
"'-'",
"{\n sign = -1;\n b = input.read();\n }",
"sign = -1",
"sign",
"-1",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '+') {\n b = input.read();\n }",
"b == '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"long ret = b - '0';",
"ret",
"b - '0'",
"b",
"'0'",
"while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }",
"true",
"{\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b < '0' || '9' < b) return ret * sign;",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"return ret * sign;",
"ret * sign",
"ret",
"sign",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }",
"nextDouble",
"{\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }",
"try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }",
"IOException e",
"{\n e.printStackTrace();\n return Double.NaN;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return Double.NaN;",
"Double.NaN",
"Double",
"Double.NaN",
"{\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n }",
"double sign = 1;",
"sign",
"1",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b)",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"b != '-'",
"b",
"'-'",
"b != '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }",
"b == '-'",
"b",
"'-'",
"{\n sign = -1;\n b = input.read();\n }",
"sign = -1",
"sign",
"-1",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '+') {\n b = input.read();\n }",
"b == '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"double ret = b - '0';",
"ret",
"b - '0'",
"b",
"'0'",
"while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }",
"true",
"{\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b < '0' || '9' < b) break;",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"break;",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"if (b != '.') return sign * ret;",
"b != '.'",
"b",
"'.'",
"return sign * ret;",
"sign * ret",
"sign",
"ret",
"double div = 1;",
"div",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"div *= 10",
"div",
"10",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sign * ret / div;",
"sign * ret / div",
"sign * ret",
"sign",
"ret",
"div",
"public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }",
"nextChar",
"{\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }",
"try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return 0;\n }",
"IOException e",
"{\n e.printStackTrace();\n return 0;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return 0;",
"0",
"{\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n }",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (Character.isWhitespace(b)) {\n b = input.read();\n }",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return (char) b;",
"(char) b",
"public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"nextStr",
"{\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"IOException e",
"{\n e.printStackTrace();\n return \"\";\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return \"\";",
"\"\"",
"{\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (Character.isWhitespace(b)) {\n b = input.read();\n }",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }",
"b != -1 && !Character.isWhitespace(b)",
"b != -1",
"b",
"-1",
"1",
"!Character.isWhitespace(b)",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n sb.append((char) b);\n b = input.read();\n }",
"sb.append((char) b)",
"sb.append",
"sb",
"(char) b",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"nextLine",
"{\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"IOException e",
"{\n e.printStackTrace();\n return \"\";\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return \"\";",
"\"\"",
"{\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }",
"b != -1 && b != '\\n'",
"b != -1",
"b",
"-1",
"1",
"b != '\\n'",
"b",
"'\\n'",
"{\n sb.append((char) b);\n b = input.read();\n }",
"sb.append((char) b)",
"sb.append",
"sb",
"(char) b",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }",
"nextIntArray",
"{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextInt();\n }",
"{\n res[i] = nextInt();\n }",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }",
"nextIntArrayDec",
"{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\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() - 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextInt() - 1;\n }",
"{\n res[i] = nextInt() - 1;\n }",
"res[i] = nextInt() - 1",
"res[i]",
"res",
"i",
"nextInt() - 1",
"nextInt()",
"nextInt",
"1",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }",
"nextIntArray1Index",
"{\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }",
"int[] res = new int[n + 1];",
"res",
"new int[n + 1]",
"n + 1",
"n",
"1",
"for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i + 1] = nextInt();\n }",
"{\n res[i + 1] = nextInt();\n }",
"res[i + 1] = nextInt()",
"res[i + 1]",
"res",
"i + 1",
"i",
"1",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }",
"nextLongArray",
"{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextLong();\n }",
"{\n res[i] = nextLong();\n }",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }",
"nextLongArrayDec",
"{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\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() - 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextLong() - 1;\n }",
"{\n res[i] = nextLong() - 1;\n }",
"res[i] = nextLong() - 1",
"res[i]",
"res",
"i",
"nextLong() - 1",
"nextLong()",
"nextLong",
"1",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }",
"nextLongArray1Index",
"{\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }",
"long[] res = new long[n + 1];",
"res",
"new long[n + 1]",
"n + 1",
"n",
"1",
"for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i + 1] = nextLong();\n }",
"{\n res[i + 1] = nextLong();\n }",
"res[i + 1] = nextLong()",
"res[i + 1]",
"res",
"i + 1",
"i",
"1",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }",
"nextDoubleArray",
"{\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }",
"double[] res = new double[n];",
"res",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextDouble();\n }",
"{\n res[i] = nextDouble();\n }",
"res[i] = nextDouble()",
"res[i]",
"res",
"i",
"nextDouble()",
"nextDouble",
"return res;",
"res",
"int n",
"n",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n String S = in.nextStr(), T = in.nextStr();\n int cnt = 0;\n for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;\n out.println(cnt);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.math.BigDecimal;
import java.util.*;
@SuppressWarnings("unused")
public class Main {
FastScanner in;
PrintWriter out;
final static int MOD = (int)1e9+7;
void solve(){
String S = in.nextStr(), T = in.nextStr();
int cnt = 0;
for(int i = 0; i < S.length(); i++) if(S.charAt(i) != T.charAt(i)) cnt++;
out.println(cnt);
}
public static void main(String[] args) {
new Main().m();
}
private void m() {
in = new FastScanner(System.in);
out = new PrintWriter(System.out);
/*
try {
String path = "input.txt";
out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));
}catch (IOException e){
e.printStackTrace();
}
*/
solve();
out.flush();
in.close();
out.close();
}
static class FastScanner {
private Reader input;
public FastScanner() {this(System.in);}
public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}
public void close() {
try {
this.input.close();
} catch (IOException e) {
e.printStackTrace();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) nl;
}
public long nextLong() {
try {
int sign = 1;
int b = input.read();
while ((b < '0' || '9' < b) && b != '-' && b != '+') {
b = input.read();
}
if (b == '-') {
sign = -1;
b = input.read();
} else if (b == '+') {
b = input.read();
}
long ret = b - '0';
while (true) {
b = input.read();
if (b < '0' || '9' < b) return ret * sign;
ret *= 10;
ret += b - '0';
}
} catch (IOException e) {
e.printStackTrace();
return -1;
}
}
public double nextDouble() {
try {
double sign = 1;
int b = input.read();
while ((b < '0' || '9' < b) && b != '-' && b != '+') {
b = input.read();
}
if (b == '-') {
sign = -1;
b = input.read();
} else if (b == '+') {
b = input.read();
}
double ret = b - '0';
while (true) {
b = input.read();
if (b < '0' || '9' < b) break;
ret *= 10;
ret += b - '0';
}
if (b != '.') return sign * ret;
double div = 1;
b = input.read();
while ('0' <= b && b <= '9') {
ret *= 10;
ret += b - '0';
div *= 10;
b = input.read();
}
return sign * ret / div;
} catch (IOException e) {
e.printStackTrace();
return Double.NaN;
}
}
public char nextChar() {
try {
int b = input.read();
while (Character.isWhitespace(b)) {
b = input.read();
}
return (char) b;
} catch (IOException e) {
e.printStackTrace();
return 0;
}
}
public String nextStr() {
try {
StringBuilder sb = new StringBuilder();
int b = input.read();
while (Character.isWhitespace(b)) {
b = input.read();
}
while (b != -1 && !Character.isWhitespace(b)) {
sb.append((char) b);
b = input.read();
}
return sb.toString();
} catch (IOException e) {
e.printStackTrace();
return "";
}
}
public String nextLine() {
try {
StringBuilder sb = new StringBuilder();
int b = input.read();
while (b != -1 && b != '\n') {
sb.append((char) b);
b = input.read();
}
return sb.toString();
} catch (IOException e) {
e.printStackTrace();
return "";
}
}
public int[] nextIntArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = nextInt();
}
return res;
}
public int[] nextIntArrayDec(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = nextInt() - 1;
}
return res;
}
public int[] nextIntArray1Index(int n) {
int[] res = new int[n + 1];
for (int i = 0; i < n; i++) {
res[i + 1] = nextInt();
}
return res;
}
public long[] nextLongArray(int n) {
long[] res = new long[n];
for (int i = 0; i < n; i++) {
res[i] = nextLong();
}
return res;
}
public long[] nextLongArrayDec(int n) {
long[] res = new long[n];
for (int i = 0; i < n; i++) {
res[i] = nextLong() - 1;
}
return res;
}
public long[] nextLongArray1Index(int n) {
long[] res = new long[n + 1];
for (int i = 0; i < n; i++) {
res[i + 1] = nextLong();
}
return res;
}
public double[] nextDoubleArray(int n) {
double[] res = new double[n];
for (int i = 0; i < n; i++) {
res[i] = nextDouble();
}
return res;
}
}
} |
[
7,
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,
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
],
[
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
],
[
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int c = 0;",
"c",
"0",
"char[] s = sc.next().toCharArray();",
"s",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"char[] t = sc.next().toCharArray();",
"t",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"for(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}",
"{\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}",
"c += s[i] != t[i] ? 1 : 0",
"c",
"s[i] != t[i] ? 1 : 0",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"1",
"0",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint c = 0;\n\t\tchar[] s = sc.next().toCharArray();\n\t\tchar[] t = sc.next().toCharArray();\n\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\tc += s[i] != t[i] ? 1 : 0;\n\t\t}\n\n\t\tSystem.out.println(c);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int c = 0;
char[] s = sc.next().toCharArray();
char[] t = sc.next().toCharArray();
for(int i = 0; i < s.length; i++) {
c += s[i] != t[i] ? 1 : 0;
}
System.out.println(c);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
277,
23
],
[
277,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
277,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
90,
100
],
[
100,
101
],
[
101,
102
],
[
61,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
59,
107
],
[
107,
108
],
[
59,
109
],
[
109,
110
],
[
59,
111
],
[
111,
112
],
[
277,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
113,
117
],
[
117,
118
],
[
117,
119
],
[
113,
121
],
[
121,
122
],
[
113,
123
],
[
123,
124
],
[
113,
125
],
[
125,
126
],
[
113,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
127,
135
],
[
135,
136
],
[
113,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
140,
145
],
[
145,
146
],
[
146,
147
],
[
139,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
156,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
152,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
139,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
113,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
184,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
184,
198
],
[
198,
199
],
[
198,
200
],
[
184,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
208,
211
],
[
207,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
206,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
184,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
113,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
234,
237
],
[
227,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
225,
242
],
[
242,
243
],
[
113,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
251,
249
],
[
261,
250
],
[
258,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
258,
258
],
[
258,
259
],
[
258,
260
],
[
261,
261
],
[
261,
262
],
[
261,
263
],
[
251,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
244,
268
],
[
268,
269
],
[
113,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
0,
276
],
[
276,
277
],
[
276,
278
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(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, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(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, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(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 FastReader in = new FastReader(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",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(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, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }",
"solve",
"{\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }",
"String str1 = s.nextString();",
"str1",
"s.nextString()",
"s.nextString",
"s",
"String str2 = s.nextString();",
"str2",
"s.nextString()",
"s.nextString",
"s",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"{\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }",
"{\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }",
"if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }",
"str1.charAt(i) != str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n count++;\n }",
"count++",
"count",
"out.println(count)",
"out.println",
"out",
"count",
"int testNumber",
"testNumber",
"FastReader s",
"s",
"PrintWriter out",
"out",
"static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"FastReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private FastReader.SpaceCharFilter filter;",
"filter",
"public FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"nextString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }",
"if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }",
"Character.isValidCodePoint(c)",
"Character.isValidCodePoint",
"Character",
"c",
"{\n res.appendCodePoint(c);\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(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, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(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, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n int count = 0;\n for (int i = 0; i < str1.length(); i++) {\n if (str1.charAt(i) != str2.charAt(i)) {\n count++;\n }\n }\n\n out.println(count);\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(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, FastReader s, PrintWriter out) {
String str1 = s.nextString();
String str2 = s.nextString();
int count = 0;
for (int i = 0; i < str1.length(); i++) {
if (str1.charAt(i) != str2.charAt(i)) {
count++;
}
}
out.println(count);
}
}
static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private FastReader.SpaceCharFilter filter;
public FastReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public String nextString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
if (Character.isValidCodePoint(c)) {
res.appendCodePoint(c);
}
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = sc.next();",
"b",
"sc.next()",
"sc.next",
"sc",
"int n = a.length();",
"n",
"a.length()",
"a.length",
"a",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }",
"{\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }",
"if (a.charAt(i) != b.charAt(i)){\n ans++;\n }",
"a.charAt(i) != b.charAt(i)",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"b.charAt(i)",
"b.charAt",
"b",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n int n = a.length();\n int ans = 0;\n\n for (int i = 0; i<n; i++){\n if (a.charAt(i) != b.charAt(i)){\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
int n = a.length();
int ans = 0;
for (int i = 0; i<n; i++){
if (a.charAt(i) != b.charAt(i)){
ans++;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
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
],
[
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
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\t}\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\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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 ans = 0;",
"ans",
"0",
"for (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}",
"{\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}",
"if (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;",
"!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",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))\n\t\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int ans = 0;
for (int i = 0; i < s.length(); i++) {
if (!s.substring(i, i + 1).equals(t.substring(i, i + 1)))
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
7,
14
],
[
14,
15
],
[
7,
16
],
[
16,
17
],
[
16,
18
],
[
7,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
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
],
[
58,
59
],
[
21,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
19,
66
],
[
66,
67
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\nclass Main {\n\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static String S, T;\n static int result = 0;\n\n public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }\n\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"static String S",
"S",
"T;",
"T",
"static int result = 0;",
"result",
"0",
"public static void main(String[] args) throws Exception {\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }",
"main",
"{\n S = br.readLine();\n T = br.readLine();\n \n for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }\n System.out.println(result);\n }",
"S = br.readLine()",
"S",
"br.readLine()",
"br.readLine",
"br",
"T = br.readLine()",
"T",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i < S.length(); i++){\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"{\n if(S.charAt(i) != T.charAt(i)){\n result++;\n }\n }",
"if(S.charAt(i) != T.charAt(i)){\n result++;\n }",
"S.charAt(i) != T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n result++;\n }",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static String S, T;
static int result = 0;
public static void main(String[] args) throws Exception {
S = br.readLine();
T = br.readLine();
for(int i = 0; i < S.length(); i++){
if(S.charAt(i) != T.charAt(i)){
result++;
}
}
System.out.println(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
29,
4,
18,
13,
29,
17,
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
],
[
150,
11
],
[
150,
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
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
40,
56
],
[
56,
57
],
[
56,
58
],
[
40,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
40,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
12,
89
],
[
89,
90
],
[
150,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
91,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
106,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
105,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
91,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
126,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
125,
138
],
[
138,
139
],
[
91,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
]
| [
" import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main{\n\n public static void main(String[] args){\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }\nstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer st;\n \n\t\tpublic InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tpublic String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\n}\n\n ",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n public static void main(String[] args){\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }\nstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer st;\n \n\t\tpublic InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tpublic String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\n}",
"Main",
"public static void main(String[] args){\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }",
"main",
"{\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }",
"InputReader in = new InputReader();",
"in",
"new InputReader()",
"String a = in.next();",
"a",
"in.next()",
"in.next",
"in",
"String b = in.next();",
"b",
"in.next()",
"in.next",
"in",
"if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }",
"a.equals(b)",
"a.equals",
"a",
"b",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }",
"char[] arr_a = a.toCharArray();",
"arr_a",
"a.toCharArray()",
"a.toCharArray",
"a",
"char[] arr_b = b.toCharArray();",
"arr_b",
"b.toCharArray()",
"b.toCharArray",
"b",
"int n = arr_a.length;",
"n",
"arr_a.length",
"arr_a",
"arr_a.length",
"int ans= 0;",
"ans",
"0",
"for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }",
"{\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }",
"if(arr_a[i]!=arr_b[i]){\n ans++;\n }",
"arr_a[i]!=arr_b[i]",
"arr_a[i]",
"arr_a",
"i",
"arr_b[i]",
"arr_b",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer st;\n \n\t\tpublic InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tpublic String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer st;",
"st",
"public InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"InputReader",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}",
"st = new StringTokenizer(nextLine())",
"st",
"new StringTokenizer(nextLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}",
"nextLine",
"{\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}",
"try {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\treturn reader.readLine();\n\t\t\t}",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return null;",
"null",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main{\n\n public static void main(String[] args){\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }\nstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer st;\n \n\t\tpublic InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tpublic String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\n}",
"public class Main{\n\n public static void main(String[] args){\n InputReader in = new InputReader();\n String a = in.next();\n String b = in.next();\n if(a.equals(b)){\n System.out.println(0);\n }\n else{\n char[] arr_a = a.toCharArray();\n char[] arr_b = b.toCharArray();\n int n = arr_a.length;\n int ans= 0;\n for(int i=0;i<n;i++){\n if(arr_a[i]!=arr_b[i]){\n ans++;\n }\n }\n System.out.println(ans);\n }\n \n \n }\nstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer st;\n \n\t\tpublic InputReader() {\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tpublic String next() {\n\t\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\t\tst = new StringTokenizer(nextLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn reader.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main(String[] args){
InputReader in = new InputReader();
String a = in.next();
String b = in.next();
if(a.equals(b)){
System.out.println(0);
}
else{
char[] arr_a = a.toCharArray();
char[] arr_b = b.toCharArray();
int n = arr_a.length;
int ans= 0;
for(int i=0;i<n;i++){
if(arr_a[i]!=arr_b[i]){
ans++;
}
}
System.out.println(ans);
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer st;
public InputReader() {
reader = new BufferedReader(new InputStreamReader(System.in));
}
public String next() {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(nextLine());
}
return st.nextToken();
}
public String nextLine() {
try {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return null;
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
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,
17,
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
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.out.println(\"\"+(ans));\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 \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.out.println(\"\"+(ans));\n}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.out.println(\"\"+(ans));\n}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.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\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\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))){ans++;}\n\t\t}",
"{\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}",
"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++",
"ans",
"System.out.println(\"\"+(ans))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+(ans)",
"\"\"",
"(ans)",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.out.println(\"\"+(ans));\n}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tString s= sc.next();\n \tString t=sc.next();\n \tint ans=0;\n \tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif((s.charAt(i))!=(t.charAt(i))){ans++;}\n\t\t}\n \tSystem.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))){ans++;}
}
System.out.println(""+(ans));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
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,
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
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
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\t\n//\tpublic static String rev(int s) {\n//\t\t String rev = new StringBuffer(s).reverse().toString();\n//\t\t return rev;\n//\t}\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }\n \n \n \n \n\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\t\n//\tpublic static String rev(int s) {\n//\t\t String rev = new StringBuffer(s).reverse().toString();\n//\t\t return rev;\n//\t}\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }\n \n \n \n \n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String st1 = sc.next();",
"st1",
"sc.next()",
"sc.next",
"sc",
"String st2 = sc.next();",
"st2",
"sc.next()",
"sc.next",
"sc",
"int l1 = st1.length();",
"l1",
"st1.length()",
"st1.length",
"st1",
"char[] arr1 = st1.toCharArray();",
"arr1",
"st1.toCharArray()",
"st1.toCharArray",
"st1",
"char[] arr2 = st2.toCharArray();",
"arr2",
"st2.toCharArray()",
"st2.toCharArray",
"st2",
"int cnt = 0;",
"cnt",
"0",
"for(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l1",
"i",
"l1",
"i++",
"i++",
"i",
"{\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}",
"{\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}",
"if(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}",
"arr1[i] != arr2[i]",
"arr1[i]",
"arr1",
"i",
"arr2[i]",
"arr2",
"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\t\n//\tpublic static String rev(int s) {\n//\t\t String rev = new StringBuffer(s).reverse().toString();\n//\t\t return rev;\n//\t}\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }\n \n \n \n \n\t\n}",
"public class Main {\n\t\n//\tpublic static String rev(int s) {\n//\t\t String rev = new StringBuffer(s).reverse().toString();\n//\t\t return rev;\n//\t}\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString st1 = sc.next();\n\t\tString st2 = sc.next();\n\t\tint l1 = st1.length();\n\t\tchar[] arr1 = st1.toCharArray();\n\t\tchar[] arr2 = st2.toCharArray();\n\t\tint cnt = 0;\n\t\tfor(int i = 0; i < l1; i++) {\n\t\t\tif(arr1[i] != arr2[i]) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n \n \t\n \t\n \tSystem.out.println(cnt);\n }\n \n \n \n \n\t\n}",
"Main"
]
| import java.util.*;
public class Main {
// public static String rev(int s) {
// String rev = new StringBuffer(s).reverse().toString();
// return rev;
// }
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String st1 = sc.next();
String st2 = sc.next();
int l1 = st1.length();
char[] arr1 = st1.toCharArray();
char[] arr2 = st2.toCharArray();
int cnt = 0;
for(int i = 0; i < l1; i++) {
if(arr1[i] != arr2[i]) {
cnt++;
}
}
System.out.println(cnt);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"\nimport java.util.*;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t\t\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t\t\n\t}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\n \n }",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\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 A = 0;",
"A",
"0",
"char[] s2 = S.toCharArray();",
"s2",
"S.toCharArray()",
"S.toCharArray",
"S",
"char[] t2 = T.toCharArray();",
"t2",
"T.toCharArray()",
"T.toCharArray",
"T",
"for (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < s2.length",
"i",
"s2.length",
"s2",
"s2.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}",
"{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}",
"if (s2[i]!=t2[i])\n\t\t\t{A++;}",
"s2[i]!=t2[i]",
"s2[i]",
"s2",
"i",
"t2[i]",
"t2",
"i",
"{A++;}",
"A++",
"A",
"System.out.println(A)",
"System.out.println",
"System.out",
"System",
"System.out",
"A",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t\t\n\t}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tint A = 0;\n\t\t\n\t\tchar[] s2 = S.toCharArray();\n\t\tchar[] t2 = T.toCharArray();\n\t\t\n\t\tfor (int i = 0 ; i < s2.length; i++)\n\t\t{\n\t\t\tif (s2[i]!=t2[i])\n\t\t\t{A++;}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t\t\n\t}",
"Main"
]
|
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int A = 0;
char[] s2 = S.toCharArray();
char[] t2 = T.toCharArray();
for (int i = 0 ; i < s2.length; i++)
{
if (s2[i]!=t2[i])
{A++;}
}
System.out.println(A);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
186,
32
],
[
186,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
35,
60
],
[
60,
61
],
[
61,
62
],
[
33,
63
],
[
63,
64
],
[
186,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
69,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
87,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
69,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
67,
119
],
[
119,
120
],
[
67,
121
],
[
121,
122
],
[
186,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
123,
127
],
[
127,
128
],
[
123,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
129,
138
],
[
138,
139
],
[
123,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
143,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
142,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
123,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
123,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\npublic class Main {\n\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 TaskA solver = new TaskA();\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"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\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 TaskA solver = new TaskA();\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.call(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 TaskA solver = new TaskA();\n solver.call(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)",
"TaskA solver = new TaskA();",
"solver",
"new TaskA()",
"solver.call(in,out)",
"solver.call",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }\n }",
"TaskA",
"public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }",
"call",
"{\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }",
"String s",
"s",
"a;",
"a",
"int count=0;",
"count",
"0",
"s = in.next()",
"s",
"in.next()",
"in.next",
"in",
"a = in.next()",
"a",
"in.next()",
"in.next",
"in",
"for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.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)!=a.charAt(i)){\n count++;\n }\n }",
"{\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }",
"if(s.charAt(i)!=a.charAt(i)){\n count++;\n }",
"s.charAt(i)!=a.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"a.charAt(i)",
"a.charAt",
"a",
"i",
"{\n count++;\n }",
"count++",
"count",
"out.println(count)",
"out.println",
"out",
"count",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\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 TaskA solver = new TaskA();\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n String s ,a;\n int count=0;\n s = in.next();\n a = in.next();\n for (int i = 0; i <s.length(); i++) {\n if(s.charAt(i)!=a.charAt(i)){\n count++;\n }\n }\n out.println(count);\n\n\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
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);
TaskA solver = new TaskA();
solver.call(in,out);
out.close();
}
static class TaskA {
public void call(InputReader in, PrintWriter out) {
String s ,a;
int count=0;
s = in.next();
a = in.next();
for (int i = 0; i <s.length(); i++) {
if(s.charAt(i)!=a.charAt(i)){
count++;
}
}
out.println(count);
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
}
} |
[
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 sc = new Scanner(System.in);\n\t\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] l1 = sc.nextLine().toCharArray();",
"l1",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char[] l2 = sc.nextLine().toCharArray();",
"l2",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int count = 0;",
"count",
"0",
"for (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int id = 0;",
"int id = 0;",
"id",
"0",
"id < l1.length",
"id",
"l1.length",
"l1",
"l1.length",
"id++",
"id++",
"id",
"{\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}",
"l1[id] != l2[id]",
"l1[id]",
"l1",
"id",
"l2[id]",
"l2",
"id",
"{\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\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] l1 = sc.nextLine().toCharArray();\n\t\tchar[] l2 = sc.nextLine().toCharArray();\n\n\t\tint count = 0;\n\t\tfor (int id = 0; id < l1.length; id++) {\n\t\t\tif (l1[id] != l2[id]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char[] l1 = sc.nextLine().toCharArray();
char[] l2 = sc.nextLine().toCharArray();
int count = 0;
for (int id = 0; id < l1.length; id++) {
if (l1[id] != l2[id]) {
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,
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
],
[
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
],
[
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
]
]
| [
"import java.util.*;\nimport java.util.function.*;\nimport java.math.*;\npublic class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"char[] S = s.next().toCharArray();",
"S",
"s.next().toCharArray()",
"s.next().toCharArray",
"s.next()",
"s.next",
"s",
"char[] T = s.next().toCharArray();",
"T",
"s.next().toCharArray()",
"s.next().toCharArray",
"s.next()",
"s.next",
"s",
"int ret = 0;",
"ret",
"0",
"for(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\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\tret++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}",
"if(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n\t\t\t\tret++;\n\t\t\t}",
"ret++",
"ret",
"System.out.println(ret)",
"System.out.println",
"System.out",
"System",
"System.out",
"ret",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tchar[] S = s.next().toCharArray();\n\t\tchar[] T = s.next().toCharArray();\n\t\t\n\t\tint ret = 0;\n\t\tfor(int i = 0; i < S.length; i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tret++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.util.function.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
char[] S = s.next().toCharArray();
char[] T = s.next().toCharArray();
int ret = 0;
for(int i = 0; i < S.length; i++) {
if(S[i] != T[i]) {
ret++;
}
}
System.out.println(ret);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
4,
18,
13,
17,
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
]
| [
[
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
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
23,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
]
]
| [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] a = sc.next().split(\"\",0);\n\t\tString[] b = sc.next().split(\"\",0);\n\t\tint count = 0;\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\tif(!a[i].equals(b[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.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] a = sc.next().split(\"\",0);\n\t\tString[] b = sc.next().split(\"\",0);\n\t\tint count = 0;\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\tif(!a[i].equals(b[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 sc = new Scanner(System.in);\n\t\tString[] a = sc.next().split(\"\",0);\n\t\tString[] b = sc.next().split(\"\",0);\n\t\tint count = 0;\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\tif(!a[i].equals(b[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 sc = new Scanner(System.in);\n\t\tString[] a = sc.next().split(\"\",0);\n\t\tString[] b = sc.next().split(\"\",0);\n\t\tint count = 0;\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\tif(!a[i].equals(b[i])){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] a = sc.next().split(\"\",0);",
"a",
"sc.next().split(\"\",0)",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\"",
"0",
"String[] b = sc.next().split(\"\",0);",
"b",
"sc.next().split(\"\",0)",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\"",
"0",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < a.length; i++){\n\t\t\tif(!a[i].equals(b[i])){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(!a[i].equals(b[i])){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(!a[i].equals(b[i])){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(!a[i].equals(b[i])){\n\t\t\t\tcount++;\n\t\t\t}",
"!a[i].equals(b[i])",
"a[i].equals(b[i])",
"a[i].equals",
"a[i]",
"a",
"i",
"b[i]",
"b",
"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"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String[] a = sc.next().split("",0);
String[] b = sc.next().split("",0);
int count = 0;
for(int i = 0; i < a.length; i++){
if(!a[i].equals(b[i])){
count++;
}
}
System.out.print(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
20,
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,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
89,
14
],
[
89,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
17,
35
],
[
35,
36
],
[
35,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
17,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
17,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
17,
80
],
[
80,
81
],
[
81,
82
],
[
17,
83
],
[
83,
84
],
[
84,
85
],
[
15,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }",
"BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));",
"br",
"new BufferedReader(new java.io.InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"String[] S_Array = st.nextToken().split(\"\");",
"S_Array",
"st.nextToken().split(\"\")",
"st.nextToken().split",
"st.nextToken()",
"st.nextToken",
"st",
"\"\"",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"String[] T_Array = st.nextToken().split(\"\");",
"T_Array",
"st.nextToken().split(\"\")",
"st.nextToken().split",
"st.nextToken()",
"st.nextToken",
"st",
"\"\"",
"int result = 0;",
"result",
"0",
"for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S_Array.length",
"i",
"S_Array.length",
"S_Array",
"S_Array.length",
"i++",
"i++",
"i",
"{\n if(!S_Array[i].equals(T_Array[i])) result++;\n }",
"{\n if(!S_Array[i].equals(T_Array[i])) result++;\n }",
"if(!S_Array[i].equals(T_Array[i])) result++;",
"!S_Array[i].equals(T_Array[i])",
"S_Array[i].equals(T_Array[i])",
"S_Array[i].equals",
"S_Array[i]",
"S_Array",
"i",
"T_Array[i]",
"T_Array",
"i",
"result++",
"result",
"pw.println(result)",
"pw.println",
"pw",
"result",
"br.close()",
"br.close",
"br",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n String[] S_Array = st.nextToken().split(\"\");\n st = new StringTokenizer(br.readLine());\n String[] T_Array = st.nextToken().split(\"\");\n\n int result = 0;\n\n for(int i = 0; i < S_Array.length; i++) {\n if(!S_Array[i].equals(T_Array[i])) result++;\n }\n \n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
StringTokenizer st = new StringTokenizer(br.readLine());
String[] S_Array = st.nextToken().split("");
st = new StringTokenizer(br.readLine());
String[] T_Array = st.nextToken().split("");
int result = 0;
for(int i = 0; i < S_Array.length; i++) {
if(!S_Array[i].equals(T_Array[i])) result++;
}
pw.println(result);
br.close();
pw.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,
9,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
40,
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.io.*;\npublic class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\n\t }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\n\t }\n}",
"Main",
"public static void main(String[] args) throws IOException\n\t{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\n\t }",
"main",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\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 count=0;",
"count",
"0",
"for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\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)) continue;\n\t else count++;\n\t }",
"{\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }",
"if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;",
"s.charAt(i)==t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"continue;",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\n\t }\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String s= br.readLine();\n\t String t=br.readLine();\n\t int count=0;\n\t for(int i=0;i<s.length();i++)\n\t {\n\t if(s.charAt(i)==t.charAt(i)) continue;\n\t else count++;\n\t }\n\t System.out.println(count);\n\n\t }\n}",
"Main"
]
| import java.io.*;
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 count=0;
for(int i=0;i<s.length();i++)
{
if(s.charAt(i)==t.charAt(i)) continue;
else count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
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,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
67,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
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
],
[
14,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.io.*;\n\npublic class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}",
"Main",
"private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"public static void main (String[] args) throws IOException{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}",
"main",
"{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String t = br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }",
"{\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }",
"if(s.charAt(i)!=t.charAt(i)) ans++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"ans++",
"ans",
"bw.write(ans + \"\")",
"bw.write",
"bw",
"ans + \"\"",
"ans",
"\"\"",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}",
"public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n String s = br.readLine();\n String t = br.readLine();\n int ans = 0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i)) ans++;\n }\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}",
"Main"
]
| import java.io.*;
public class Main{
private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
public static void main (String[] args) throws IOException{
String s = br.readLine();
String t = br.readLine();
int ans = 0;
for(int i=0;i<s.length();i++){
if(s.charAt(i)!=t.charAt(i)) ans++;
}
bw.write(ans + "");
bw.flush();
}
}
|
[
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.*;\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 String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\n \n System.out.println(count);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\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[] Schar = new char[S.length()];",
"Schar",
"new char[S.length()]",
"S.length()",
"S.length",
"S",
"char[] Tchar = new char[T.length()];",
"Tchar",
"new char[T.length()]",
"T.length()",
"T.length",
"T",
"int count = 0;",
"count",
"0",
"for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[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 Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }",
"{\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }",
"Schar[i] = S.charAt(i)",
"Schar[i]",
"Schar",
"i",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"Tchar[i] = T.charAt(i)",
"Tchar[i]",
"Tchar",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"if(Schar[i]!=Tchar[i]){\n count++;\n }",
"Schar[i]!=Tchar[i]",
"Schar[i]",
"Schar",
"i",
"Tchar[i]",
"Tchar",
"i",
"{\n count++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n \n char[] Schar = new char[S.length()];\n char[] Tchar = new char[T.length()];\n int count = 0;\n \n \n \n for(int i=0;i<S.length();i++){\n Schar[i] = S.charAt(i);\n Tchar[i] = T.charAt(i);\n if(Schar[i]!=Tchar[i]){\n count++;\n }\n }\n \n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
char[] Schar = new char[S.length()];
char[] Tchar = new char[T.length()];
int count = 0;
for(int i=0;i<S.length();i++){
Schar[i] = S.charAt(i);
Tchar[i] = T.charAt(i);
if(Schar[i]!=Tchar[i]){
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
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,
30,
40,
13,
40,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
49,
64
],
[
64,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.*;\npublic class Main\n{\n public static void main(String[] args)\n {\n String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\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 {\n String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }\n System.out.println(count);\n }",
"String S",
"S",
"T;",
"T",
"Scanner si=new Scanner(System.in);",
"si",
"new Scanner(System.in)",
"S=si.nextLine()",
"S",
"si.nextLine()",
"si.nextLine",
"si",
"T=si.nextLine()",
"T",
"si.nextLine()",
"si.nextLine",
"si",
"int i",
"i",
"j=0",
"j",
"0",
"count=0;",
"count",
"0",
"for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\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(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }",
"{\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }",
"if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }",
"S.charAt(i)!=T.charAt(j)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(j)",
"T.charAt",
"T",
"j",
"{\n count++;\n j++;\n }",
"count++",
"count",
"j++",
"j",
"{\n j++;\n }",
"j++",
"j",
"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 String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }\n System.out.println(count);\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n String S,T;\n Scanner si=new Scanner(System.in);\n S=si.nextLine();\n T=si.nextLine();\n int i,j=0,count=0;\n for(i=0;i<S.length();i++)\n {\n if(S.charAt(i)!=T.charAt(j))\n {\n count++;\n j++;\n }\n else\n {\n j++;\n }\n }\n System.out.println(count);\n }\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args)
{
String S,T;
Scanner si=new Scanner(System.in);
S=si.nextLine();
T=si.nextLine();
int i,j=0,count=0;
for(i=0;i<S.length();i++)
{
if(S.charAt(i)!=T.charAt(j))
{
count++;
j++;
}
else
{
j++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
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,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
29,
13,
23,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
6,
31
],
[
31,
32
],
[
74,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
35,
67
],
[
67,
68
],
[
33,
69
],
[
69,
70
],
[
33,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\n }\n\n public static int calc(String s, String t){\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\n }\n\n public static int calc(String s, String t){\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\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",
"System.out.println(calc(s, t))",
"System.out.println",
"System.out",
"System",
"System.out",
"calc(s, t)",
"calc",
"s",
"t",
"String[] args",
"args",
"public static int calc(String s, String t){\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\n }",
"calc",
"{\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\n }",
"int answer = 0;",
"answer",
"0",
"for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\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 answer++;\n }\n }",
"{\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }",
"if(s.charAt(i) != t.charAt(i)){\n answer++;\n }",
"s.charAt(i) != t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n answer++;\n }",
"answer++",
"answer",
"return answer;",
"answer",
"String s",
"s",
"String t",
"t",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\n }\n\n public static int calc(String s, String t){\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\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.nextLine();\n String t = sc.nextLine();\n System.out.println(calc(s, t));\n }\n\n public static int calc(String s, String t){\n int answer = 0;\n for(int i = 0; i < s.length(); i++){\n if(s.charAt(i) != t.charAt(i)){\n answer++;\n }\n }\n return answer;\n }\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.nextLine();
String t = sc.nextLine();
System.out.println(calc(s, t));
}
public static int calc(String s, String t){
int answer = 0;
for(int i = 0; i < s.length(); i++){
if(s.charAt(i) != t.charAt(i)){
answer++;
}
}
return answer;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
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
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }",
"Scanner s= new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String st = s.nextLine();",
"st",
"s.nextLine()",
"s.nextLine",
"s",
"String t = s.nextLine();",
"t",
"s.nextLine()",
"s.nextLine",
"s",
"int count = 0",
"count",
"0",
"len =st.length();",
"len",
"st.length()",
"st.length",
"st",
"for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"++i",
"++i",
"i",
"{\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }",
"{\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }",
"if(st.charAt(i)!=t.charAt(i))\n count++;",
"st.charAt(i)!=t.charAt(i)",
"st.charAt(i)",
"st.charAt",
"st",
"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 s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s= new Scanner(System.in);\n String st = s.nextLine();\n String t = s.nextLine();\n int count = 0, len =st.length();\n for(int i = 0;i < len; ++i) {\n if(st.charAt(i)!=t.charAt(i))\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s= new Scanner(System.in);
String st = s.nextLine();
String t = s.nextLine();
int count = 0, len =st.length();
for(int i = 0;i < len; ++i) {
if(st.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,
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,
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,
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,
30,
0,
13,
4,
13,
41,
13,
42,
40,
4,
13,
13,
30,
0,
13,
13,
0,
13,
4,
13,
29,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
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,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
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
],
[
327,
26
],
[
327,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
29,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
27,
80
],
[
80,
81
],
[
327,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
82,
90
],
[
90,
91
],
[
82,
92
],
[
92,
93
],
[
82,
94
],
[
94,
95
],
[
82,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
96,
104
],
[
104,
105
],
[
82,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
109,
114
],
[
114,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
124,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
120,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
108,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
82,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
151,
165
],
[
165,
166
],
[
165,
167
],
[
151,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
168,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
151,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
82,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
188,
202
],
[
202,
203
],
[
188,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
188,
217
],
[
217,
218
],
[
82,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
221,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
221,
234
],
[
234,
235
],
[
234,
236
],
[
221,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
241,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
221,
250
],
[
250,
251
],
[
250,
252
],
[
221,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
264,
265
],
[
264,
266
],
[
259,
267
],
[
267,
268
],
[
258,
269
],
[
269,
270
],
[
269,
271
],
[
258,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
274,
276
],
[
258,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
221,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
82,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
287,
297
],
[
297,
298
],
[
301,
299
],
[
311,
300
],
[
308,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
305,
306
],
[
305,
307
],
[
308,
308
],
[
308,
309
],
[
308,
310
],
[
311,
311
],
[
311,
312
],
[
311,
313
],
[
301,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
285,
318
],
[
318,
319
],
[
82,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
0,
326
],
[
326,
327
],
[
326,
328
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.InputMismatchException;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\nimport java.util.TreeSet;\n \n \n \npublic class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }\n \n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n \n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n \n public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }\n \n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.TreeSet;",
"TreeSet",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }\n \n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n \n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n \n public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }\n \n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }",
"main",
"{\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"String s = sc.nextStr();",
"s",
"sc.nextStr()",
"sc.nextStr",
"sc",
"String t = sc.nextStr();",
"t",
"sc.nextStr()",
"sc.nextStr",
"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",
" static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n \n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n \n public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }\n \n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\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 next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"next",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }",
"nextStr",
"{\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }",
"int c = next();",
"c",
"next()",
"next",
"while(isSpaceChar(c)){c = next();}",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{c = next();}",
"c = next()",
"c",
"next()",
"next",
"StringBuffer str = new StringBuffer();",
"str",
"new StringBuffer()",
"do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n str.append((char)c);\n c = next();\n }",
"str.append((char)c)",
"str.append",
"str",
"(char)c",
"c = next()",
"c",
"next()",
"next",
"return str.toString();",
"str.toString()",
"str.toString",
"str",
"public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }",
"nextChar",
"{\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }",
"int c = next();",
"c",
"next()",
"next",
"while(isSpaceChar(c)){c = next();}",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{c = next();}",
"c = next()",
"c",
"next()",
"next",
"char ret;",
"ret",
"do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n ret = (char)c;\n c = next();\n }",
"ret = (char)c",
"ret",
"(char)c",
"c = next()",
"c",
"next()",
"next",
"return ret;",
"ret",
"public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = next();",
"c",
"next()",
"next",
"while (isSpaceChar(c))\n c = next();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = next()",
"c",
"next()",
"next",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = next();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = next();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = next()",
"c",
"next()",
"next",
"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 = next();\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 = next();\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 = next()",
"c",
"next()",
"next",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }\n \n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n \n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n \n public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }\n \n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n \n String s = sc.nextStr();\n String t = sc.nextStr();\n\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 \n System.out.println(ans);\n \n \n }\n \n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n \n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n \n public char nextChar() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n char ret;\n do{\n ret = (char)c;\n c = next();\n }while(!isSpaceChar(c));\n return ret;\n }\n \n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\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 = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.util.TreeSet;
public class Main {
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
String s = sc.nextStr();
String t = sc.nextStr();
int ans = 0;
for(int i = 0; i < s.length(); i++){
if(s.charAt(i) != t.charAt(i)){
ans++;
}
}
System.out.println(ans);
}
//ここからテンプレ
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int next() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String nextStr() {
int c = next();
while(isSpaceChar(c)){c = next();}
StringBuffer str = new StringBuffer();
do{
str.append((char)c);
c = next();
}while(!isSpaceChar(c));
return str.toString();
}
public char nextChar() {
int c = next();
while(isSpaceChar(c)){c = next();}
char ret;
do{
ret = (char)c;
c = next();
}while(!isSpaceChar(c));
return ret;
}
public int nextInt() {
int c = next();
while (isSpaceChar(c))
c = next();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = next();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = next();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
} |
[
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
]
| [
[
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
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
]
]
| [
"import java.util.*;class Main{public static void main(String[] a){Scanner c=new Scanner(System.in);String s=c.next();String t=c.next();int b=0;for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}System.out.println(b);}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[] a){Scanner c=new Scanner(System.in);String s=c.next();String t=c.next();int b=0;for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}System.out.println(b);}}",
"Main",
"public static void main(String[] a){Scanner c=new Scanner(System.in);String s=c.next();String t=c.next();int b=0;for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}System.out.println(b);}",
"main",
"{Scanner c=new Scanner(System.in);String s=c.next();String t=c.next();int b=0;for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}System.out.println(b);}",
"Scanner c=new Scanner(System.in);",
"c",
"new Scanner(System.in)",
"String s=c.next();",
"s",
"c.next()",
"c.next",
"c",
"String t=c.next();",
"t",
"c.next()",
"c.next",
"c",
"int b=0;",
"b",
"0",
"for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}",
"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))b++;}",
"{if(s.charAt(i)!=t.charAt(i))b++;}",
"if(s.charAt(i)!=t.charAt(i))b++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"b++",
"b",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"String[] a",
"a"
]
| import java.util.*;class Main{public static void main(String[] a){Scanner c=new Scanner(System.in);String s=c.next();String t=c.next();int b=0;for(int i=0;i<s.length();i++){if(s.charAt(i)!=t.charAt(i))b++;}System.out.println(b);}} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
41,
13,
4,
18,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
89,
8
],
[
89,
9
],
[
9,
10
],
[
9,
11
],
[
89,
12
],
[
12,
13
],
[
12,
14
],
[
89,
15
],
[
15,
16
],
[
89,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
19,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
89,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
51,
52
],
[
51,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
38,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
38,
83
],
[
83,
84
],
[
84,
85
],
[
36,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static String readToken() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public static void main(String[] args) throws IOException {\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static String readToken() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public static void main(String[] args) throws IOException {\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }\n}",
"Main",
"private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));",
"pw",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"private static StringTokenizer st;",
"st",
"private static String readToken() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"readToken",
"{\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public static void main(String[] args) throws IOException {\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }",
"main",
"{\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }",
"char[] S = readToken().toCharArray();",
"S",
"readToken().toCharArray()",
"readToken().toCharArray",
"readToken()",
"readToken",
"char[] T = readToken().toCharArray();",
"T",
"readToken().toCharArray()",
"readToken().toCharArray",
"readToken()",
"readToken",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < S.length; i++) {\n if (S[i] != 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] != T[i]) count++;\n }",
"{\n if (S[i] != T[i]) count++;\n }",
"if (S[i] != T[i]) count++;",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"count++",
"count",
"pw.println(count)",
"pw.println",
"pw",
"count",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static String readToken() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public static void main(String[] args) throws IOException {\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }\n}",
"public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static String readToken() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public static void main(String[] args) throws IOException {\n char[] S = readToken().toCharArray();\n char[] T = readToken().toCharArray();\n\n int count = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i] != T[i]) count++;\n }\n pw.println(count);\n pw.close();\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
private static StringTokenizer st;
private static String readToken() throws IOException {
while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public static void main(String[] args) throws IOException {
char[] S = readToken().toCharArray();
char[] T = readToken().toCharArray();
int count = 0;
for (int i = 0; i < S.length; i++) {
if (S[i] != T[i]) count++;
}
pw.println(count);
pw.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
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,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
30,
4,
18,
13,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
20,
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
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
20,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
20,
76
],
[
76,
77
],
[
77,
78
],
[
18,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
81,
92
],
[
92,
93
],
[
92,
94
],
[
81,
95
],
[
95,
96
],
[
95,
97
],
[
81,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
112,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
108,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
100,
133
],
[
133,
134
],
[
81,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
138,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
81,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
81,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
167,
177
],
[
177,
178
],
[
166,
179
],
[
179,
180
],
[
180,
181
],
[
81,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
185,
189
],
[
189,
190
],
[
184,
191
],
[
191,
192
],
[
191,
193
],
[
184,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
184,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
203,
206
],
[
202,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
184,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
81,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
218,
222
],
[
222,
223
],
[
217,
224
],
[
224,
225
],
[
224,
226
],
[
217,
227
],
[
227,
228
],
[
227,
229
],
[
217,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
217,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
217,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
251,
253
],
[
246,
254
],
[
254,
255
],
[
255,
256
],
[
217,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
260,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
274,
276
],
[
260,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
277,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
289,
293
],
[
277,
294
],
[
294,
295
],
[
295,
296
],
[
259,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
81,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
303,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
312,
314
],
[
309,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
308,
320
],
[
320,
321
],
[
303,
322
],
[
322,
323
],
[
81,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
328,
331
],
[
331,
332
],
[
81,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
81,
344
]
]
| [
"import java.io.*;\nimport java.util.*;\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tString[] t = saori.nextHayami().split(\"\");\n\t\tString[] s = saori.nextHayami().split(\"\");\n\t\tint ans = 0;\n\t\tfor(int i = 0;i < t.length;i++){\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tsaori.close();\n\t}\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tString[] t = saori.nextHayami().split(\"\");\n\t\tString[] s = saori.nextHayami().split(\"\");\n\t\tint ans = 0;\n\t\tfor(int i = 0;i < t.length;i++){\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tsaori.close();\n\t}\n}",
"Main",
"static final long MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"static final int MAX = 2_147_483_646; // intMax ",
"MAX",
"2_147_483_646",
"static final int INF = 1_000_000_000; // 10^9 ",
"INF",
"1_000_000_000",
"public static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tString[] t = saori.nextHayami().split(\"\");\n\t\tString[] s = saori.nextHayami().split(\"\");\n\t\tint ans = 0;\n\t\tfor(int i = 0;i < t.length;i++){\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tsaori.close();\n\t}",
"main",
"{\n\t\thayami saori = new hayami();\n\t\tString[] t = saori.nextHayami().split(\"\");\n\t\tString[] s = saori.nextHayami().split(\"\");\n\t\tint ans = 0;\n\t\tfor(int i = 0;i < t.length;i++){\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tsaori.close();\n\t}",
"hayami saori = new hayami();",
"saori",
"new hayami()",
"String[] t = saori.nextHayami().split(\"\");",
"t",
"saori.nextHayami().split(\"\")",
"saori.nextHayami().split",
"saori.nextHayami()",
"saori.nextHayami",
"saori",
"\"\"",
"String[] s = saori.nextHayami().split(\"\");",
"s",
"saori.nextHayami().split(\"\")",
"saori.nextHayami().split",
"saori.nextHayami()",
"saori.nextHayami",
"saori",
"\"\"",
"int ans = 0;",
"ans",
"0",
"for(int i = 0;i < t.length;i++){\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < t.length",
"i",
"t.length",
"t",
"t.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}",
"{\n\t\t\tif(!s[i].equals(t[i]))ans++;\n\t\t}",
"if(!s[i].equals(t[i]))ans++;",
"!s[i].equals(t[i])",
"s[i].equals(t[i])",
"s[i].equals",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"saori.close()",
"saori.close",
"saori",
"String[] args",
"args",
"class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"hayami",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] hayami = new byte[1024];",
"hayami",
"new byte[1024]",
"1024",
"private int Hayami = 0;",
"Hayami",
"0",
"private int saori = 0;",
"saori",
"0",
"private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"HayamiSaori",
"{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami < saori",
"Hayami",
"saori",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami = 0",
"Hayami",
"0",
"try {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t}",
"saori = in.read(hayami)",
"saori",
"in.read(hayami)",
"in.read",
"in",
"hayami",
"if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"saori <= 0",
"saori",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"SaoriHayami",
"{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }",
"HayamiSaori()",
"HayamiSaori",
"{\n return hayami[Hayami++];\n }",
"return hayami[Hayami++];",
"hayami[Hayami++]",
"hayami",
"Hayami++",
"Hayami",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"hayami_saori",
"{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"return 33 <= hayami && hayami <= 126;",
"33 <= hayami && hayami <= 126",
"33 <= hayami",
"33",
"hayami",
"hayami <= 126",
"hayami",
"126",
"int hayami",
"hayami",
"public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"hayamisaori",
"{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;",
"HayamiSaori() && !hayami_saori(hayami[Hayami])",
"HayamiSaori()",
"HayamiSaori",
"!hayami_saori(hayami[Hayami])",
"hayami_saori(hayami[Hayami])",
"hayami_saori",
"hayami[Hayami]",
"hayami",
"Hayami",
"Hayami++",
"Hayami",
"return HayamiSaori();",
"HayamiSaori()",
"HayamiSaori",
"public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"nextHayami",
"{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder hayamin = new StringBuilder();",
"hayamin",
"new StringBuilder()",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayamin.appendCodePoint(saori)",
"hayamin.appendCodePoint",
"hayamin",
"saori",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"return hayamin.toString();",
"hayamin.toString()",
"hayamin.toString",
"hayamin",
"public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"saorihayami",
"{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long hayami = 0;",
"hayami",
"0",
"boolean misao = false;",
"misao",
"false",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"saori == '-'",
"saori",
"'-'",
"{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"misao = true",
"misao",
"true",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"saori < '0' || '9' < saori",
"saori < '0'",
"saori",
"'0'",
"'9' < saori",
"'9'",
"saori",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= saori && saori <= '9'",
"'0' <= saori",
"'0'",
"saori",
"saori <= '9'",
"saori",
"'9'",
"{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}",
"hayami *= 10",
"hayami",
"10",
"hayami += saori - '0'",
"hayami",
"saori - '0'",
"saori",
"'0'",
"if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"saori == -1 || !hayami_saori(saori)",
"saori == -1",
"saori",
"-1",
"1",
"!hayami_saori(saori)",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}",
"return misao ? -hayami : hayami;",
"misao ? -hayami : hayami",
"misao",
"-hayami",
"hayami",
"hayami",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"saori_hayami",
"{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"long hayami = saorihayami();",
"hayami",
"saorihayami()",
"saorihayami",
"if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();",
"hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE",
"hayami < Integer.MIN_VALUE",
"hayami",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"hayami > Integer.MAX_VALUE",
"hayami",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) hayami;",
"(int) hayami",
"public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"Hayamin",
"{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"return Double.parseDouble(nextHayami());",
"Double.parseDouble(nextHayami())",
"Double.parseDouble",
"Double",
"nextHayami()",
"nextHayami",
"public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"close",
"{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"Closeable"
]
| import java.io.*;
import java.util.*;
class Main{
static final long MOD = 1_000_000_007; // 10^9+7
static final int MAX = 2_147_483_646; // intMax
static final int INF = 1_000_000_000; // 10^9
public static void main(String[] args) throws Exception{
hayami saori = new hayami();
String[] t = saori.nextHayami().split("");
String[] s = saori.nextHayami().split("");
int ans = 0;
for(int i = 0;i < t.length;i++){
if(!s[i].equals(t[i]))ans++;
}
System.out.println(ans);
saori.close();
}
}
class hayami implements Closeable {
private final InputStream in = System.in;
private final byte[] hayami = new byte[1024];
private int Hayami = 0;
private int saori = 0;
private boolean HayamiSaori() {
if (Hayami < saori) {
return true;
}else{
Hayami = 0;
try {
saori = in.read(hayami);
} catch (IOException e) {
e.printStackTrace();
}
if (saori <= 0) {
return false;
}
}
return true;
}
private int SaoriHayami() {
if (HayamiSaori()) {
return hayami[Hayami++];
}else{
return -1;
}
}
private static boolean hayami_saori(int hayami) {
return 33 <= hayami && hayami <= 126;
}
public boolean hayamisaori() {
while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();
}
public String nextHayami() {
if (!hayamisaori()) throw new NoSuchElementException();
StringBuilder hayamin = new StringBuilder();
int saori = SaoriHayami();
while(hayami_saori(saori)) {
hayamin.appendCodePoint(saori);
saori = SaoriHayami();
}
return hayamin.toString();
}
public long saorihayami() {//nextLong
if (!hayamisaori()) throw new NoSuchElementException();
long hayami = 0;
boolean misao = false;
int saori = SaoriHayami();
if (saori == '-') {
misao = true;
saori = SaoriHayami();
}
if (saori < '0' || '9' < saori) {
throw new NumberFormatException();
}
while(true){
if ('0' <= saori && saori <= '9') {
hayami *= 10;
hayami += saori - '0';
}else if(saori == -1 || !hayami_saori(saori)){
return misao ? -hayami : hayami;
}else{
throw new NumberFormatException();
}
saori = SaoriHayami();
}
}
public int saori_hayami() {//nextInt
long hayami = saorihayami();
if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) hayami;
}
public double Hayamin() { //nextDouble
return Double.parseDouble(nextHayami());
}
public void close() {
try {
in.close();
} catch (IOException e) {
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.