node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
13,
2,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
38,
30,
4,
18,
13,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
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
],
[
135,
17
],
[
135,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
20,
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
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
18,
62
],
[
62,
63
],
[
135,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
64,
74
],
[
74,
75
],
[
135,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
98,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
105,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
118,
120
],
[
105,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
127,
129
],
[
76,
130
],
[
130,
131
],
[
76,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * 0002:Digit Number\n * \n * @author MS14A\n * @version 2015/07/11\n */\npublic class Main {\n\n /**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }\n\n private static int getDigitNumber(int target) {\n return String.valueOf(target).length();\n }\n\n private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n /**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }\n\n private static int getDigitNumber(int target) {\n return String.valueOf(target).length();\n }\n\n private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }\n\n}",
"Main",
"/**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }",
"main",
"{\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }",
"List<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"List<Integer> b = new ArrayList<Integer>();",
"b",
"new ArrayList<Integer>()",
"getTarget(a, b)",
"getTarget",
"a",
"b",
"for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.size()",
"i",
"a.size()",
"a.size",
"a",
"++i",
"++i",
"i",
"{\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }",
"{\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }",
"System.out.println(getDigitNumber(a.get(i)+b.get(i)))",
"System.out.println",
"System.out",
"System",
"System.out",
"getDigitNumber(a.get(i)+b.get(i))",
"getDigitNumber",
"a.get(i)+b.get(i)",
"a.get(i)",
"a.get",
"a",
"i",
"b.get(i)",
"b.get",
"b",
"i",
"String[] args",
"args",
"private static int getDigitNumber(int target) {\n return String.valueOf(target).length();\n }",
"getDigitNumber",
"{\n return String.valueOf(target).length();\n }",
"return String.valueOf(target).length();",
"String.valueOf(target).length()",
"String.valueOf(target).length",
"String.valueOf(target)",
"String.valueOf",
"String",
"target",
"int target",
"target",
"private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }",
"getTarget",
"{\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }",
"InputStreamReader streamReader = new InputStreamReader(System.in);",
"streamReader",
"new InputStreamReader(System.in)",
"BufferedReader bufferedReader = new BufferedReader(streamReader);",
"bufferedReader",
"new BufferedReader(streamReader)",
"String line = null;",
"line",
"null",
"try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }",
"{\n bufferedReader.close();\n streamReader.close();\n }",
"bufferedReader.close()",
"bufferedReader.close",
"bufferedReader",
"streamReader.close()",
"streamReader.close",
"streamReader",
"{\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n }",
"while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }",
"(line = bufferedReader.readLine()) != null",
"(line = bufferedReader.readLine())",
"line",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"null",
"{\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }",
"String[] ab = line.split(\" \");",
"ab",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"a.add(Integer.parseInt(ab[0]))",
"a.add",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"b.add(Integer.parseInt(ab[1]))",
"b.add",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"List<Integer> a",
"a",
"List<Integer> b",
"b",
"public class Main {\n\n /**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }\n\n private static int getDigitNumber(int target) {\n return String.valueOf(target).length();\n }\n\n private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }\n\n}",
"public class Main {\n\n /**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n List<Integer> a = new ArrayList<Integer>();\n List<Integer> b = new ArrayList<Integer>();\n\n getTarget(a, b);\n \n for (int i = 0; i < a.size(); ++i) {\n System.out.println(getDigitNumber(a.get(i)+b.get(i)));\n }\n\n }\n\n private static int getDigitNumber(int target) {\n return String.valueOf(target).length();\n }\n\n private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n String[] ab = line.split(\" \");\n a.add(Integer.parseInt(ab[0]));\n b.add(Integer.parseInt(ab[1]));\n }\n\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/**
* 0002:Digit Number
*
* @author MS14A
* @version 2015/07/11
*/
public class Main {
/**
* 与えられた2つの整数 a と b の和の桁数を出力する。
*
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
List<Integer> a = new ArrayList<Integer>();
List<Integer> b = new ArrayList<Integer>();
getTarget(a, b);
for (int i = 0; i < a.size(); ++i) {
System.out.println(getDigitNumber(a.get(i)+b.get(i)));
}
}
private static int getDigitNumber(int target) {
return String.valueOf(target).length();
}
private static void getTarget(List<Integer> a, List<Integer> b) throws NumberFormatException, IOException {
// 入力読取り
InputStreamReader streamReader = new InputStreamReader(System.in);
BufferedReader bufferedReader = new BufferedReader(streamReader);
String line = null;
try {
while ((line = bufferedReader.readLine()) != null) {
String[] ab = line.split(" ");
a.add(Integer.parseInt(ab[0]));
b.add(Integer.parseInt(ab[1]));
}
} finally {
bufferedReader.close();
streamReader.close();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
41,
13,
41,
13,
17,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
30,
0,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
19,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
19,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }\n }\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }\n }",
"Main",
"public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }",
"int a",
"a",
"b",
"b",
"len=1",
"len",
"1",
"l;",
"l",
"a=in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b=in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"l=a+b",
"l",
"a+b",
"a",
"b",
"if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }",
"l==0",
"l",
"0",
"System.out.println(len)",
"System.out.println",
"System.out",
"System",
"System.out",
"len",
"{\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }",
"len=(int) Math.log10(l)+1",
"len",
"(int) Math.log10(l)+1",
"(int) Math.log10(l)",
"Math.log10",
"Math",
"l",
"1",
"System.out.println(len)",
"System.out.println",
"System.out",
"System",
"System.out",
"len",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }\n }",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.println(len);\n \n else\n {\n len=(int) Math.log10(l)+1;\n \n System.out.println(len);\n }\n \n \n }\n }\n }",
"Main"
] | import java.util.Scanner;
import java.lang.Math;
public class Main
{
public static void main(String[] args)
{
Scanner in=new Scanner(System.in);
while(in.hasNext())
{
int a , b , len=1, l;
a=in.nextInt();
b=in.nextInt();
l=a+b;
if(l==0) System.out.println(len);
else
{
len=(int) Math.log10(l)+1;
System.out.println(len);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
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
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
20,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
20,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
20,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }",
"main",
"{\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }",
"true",
"{\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }",
"String tmpStr = br.readLine();",
"tmpStr",
"br.readLine()",
"br.readLine",
"br",
"if(tmpStr == null){\n break;\n }",
"tmpStr == null",
"tmpStr",
"null",
"{\n break;\n }",
"break;",
"String[] tmpArray = tmpStr.split(\" \");",
"tmpArray",
"tmpStr.split(\" \")",
"tmpStr.split",
"tmpStr",
"\" \"",
"int num1 = Integer.parseInt(tmpArray[0]);",
"num1",
"Integer.parseInt(tmpArray[0])",
"Integer.parseInt",
"Integer",
"tmpArray[0]",
"tmpArray",
"0",
"int num2 = Integer.parseInt(tmpArray[1]);",
"num2",
"Integer.parseInt(tmpArray[1])",
"Integer.parseInt",
"Integer",
"tmpArray[1]",
"tmpArray",
"1",
"int sum = num1 + num2;",
"sum",
"num1 + num2",
"num1",
"num2",
"System.out.println(Integer.toString(num1 + num2).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(num1 + num2).length()",
"Integer.toString(num1 + num2).length",
"Integer.toString(num1 + num2)",
"Integer.toString",
"Integer",
"num1 + num2",
"num1",
"num2",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String tmpStr = br.readLine();\n if(tmpStr == null){\n break;\n }\n\n String[] tmpArray = tmpStr.split(\" \");\n\n int num1 = Integer.parseInt(tmpArray[0]);\n int num2 = Integer.parseInt(tmpArray[1]);\n\n int sum = num1 + num2;\n\n System.out.println(Integer.toString(num1 + num2).length());\n }\n\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String tmpStr = br.readLine();
if(tmpStr == null){
break;
}
String[] tmpArray = tmpStr.split(" ");
int num1 = Integer.parseInt(tmpArray[0]);
int num2 = Integer.parseInt(tmpArray[1]);
int sum = num1 + num2;
System.out.println(Integer.toString(num1 + num2).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
11,
1,
41,
13,
20,
4,
18,
13,
30,
4,
18,
18,
13,
13,
4,
18,
2,
17,
2,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
37,
5
],
[
37,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
15,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
] | [
"import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}}",
"import java.util.*;",
"util.*",
"java",
"public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}}",
"Main",
"public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}",
"main",
"{for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}",
"for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());",
"Scanner s=new Scanner(System.in);",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"s.hasNext()",
"s.hasNext",
"s",
"System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());",
"System.out.println((\"\"+(s.nextInt()+s.nextInt())).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"(\"\"+(s.nextInt()+s.nextInt())).length()",
"(\"\"+(s.nextInt()+s.nextInt())).length",
"(\"\"+(s.nextInt()+s.nextInt()))",
"\"\"",
"(s.nextInt()+s.nextInt())",
"s.nextInt()",
"s.nextInt",
"s",
"s.nextInt()",
"s.nextInt",
"s",
"String[]a",
"a",
"public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}}",
"public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}}",
"Main"
] | import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
9
],
[
9,
10
],
[
62,
11
],
[
11,
12
],
[
62,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
15,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
13,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }\n}",
"Main",
"private static int a",
"a",
"b;",
"b",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List<String> numst = new ArrayList<String>();",
"numst",
"new ArrayList<String>()",
"while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }",
"stdIn.hasNextInt()",
"stdIn.hasNextInt",
"stdIn",
"{\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }",
"a = stdIn.nextInt()",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"b = stdIn.nextInt()",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"numst.add(String.valueOf(a+b))",
"numst.add",
"numst",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"for (String sum: numst) {\n System.out.println(sum.length());\n }",
"String sum",
"numst",
"{\n System.out.println(sum.length());\n }",
"{\n System.out.println(sum.length());\n }",
"System.out.println(sum.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"sum.length()",
"sum.length",
"sum",
"String[] args",
"args",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }\n}",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n numst.add(String.valueOf(a+b));\n }\n for (String sum: numst) {\n System.out.println(sum.length());\n }\n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
public class Main {
private static int a, b;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
List<String> numst = new ArrayList<String>();
while (stdIn.hasNextInt()) {
a = stdIn.nextInt();
b = stdIn.nextInt();
numst.add(String.valueOf(a+b));
}
for (String sum: numst) {
System.out.println(sum.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
18,
13,
13,
4,
18,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
24,
25
],
[
25,
26
],
[
19,
27
],
[
28,
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
],
[
41,
43
],
[
28,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
6,
75
],
[
75,
76
]
] | [
"\n//Digit Number\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n \n int digit[] = new int[200];\n \n int i = 0;\n for(; sc.hasNextInt(); i++) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }\n //System.out.println(\"i=\"+i);\n for(int j=0; j<i; j++) {\n System.out.println(digit[j]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n \n int digit[] = new int[200];\n \n int i = 0;\n for(; sc.hasNextInt(); i++) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }\n //System.out.println(\"i=\"+i);\n for(int j=0; j<i; j++) {\n System.out.println(digit[j]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n \n int digit[] = new int[200];\n \n int i = 0;\n for(; sc.hasNextInt(); i++) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }\n //System.out.println(\"i=\"+i);\n for(int j=0; j<i; j++) {\n System.out.println(digit[j]);\n }\n }",
"main",
"{\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n \n int digit[] = new int[200];\n \n int i = 0;\n for(; sc.hasNextInt(); i++) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }\n //System.out.println(\"i=\"+i);\n for(int j=0; j<i; j++) {\n System.out.println(digit[j]);\n }\n }",
"@SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int digit[] = new int[200];",
"digit",
"new int[200]",
"200",
"int i = 0;",
"i",
"0",
"for(; sc.hasNextInt(); i++) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }",
";",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"i++",
"i++",
"i",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sub = a+b;\n digit[i] = String.valueOf(sub).length();\n //System.out.println(\"digit=\"+digit[i]);\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sub = a+b;",
"sub",
"a+b",
"a",
"b",
"digit[i] = String.valueOf(sub).length()",
"digit[i]",
"digit",
"i",
"String.valueOf(sub).length()",
"String.valueOf(sub).length",
"String.valueOf(sub)",
"String.valueOf",
"String",
"sub",
"for(int j=0; j<i; j++) {\n System.out.println(digit[j]);\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n System.out.println(digit[j]);\n }",
"{\n System.out.println(digit[j]);\n }",
"System.out.println(digit[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"digit[j]",
"digit",
"j",
"String[] args",
"args"
] |
//Digit Number
import java.util.Scanner;
class Main {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
int digit[] = new int[200];
int i = 0;
for(; sc.hasNextInt(); i++) {
int a = sc.nextInt();
int b = sc.nextInt();
int sub = a+b;
digit[i] = String.valueOf(sub).length();
//System.out.println("digit="+digit[i]);
}
//System.out.println("i="+i);
for(int j=0; j<i; j++) {
System.out.println(digit[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
14,
40,
4,
18,
4,
18,
13,
17,
30,
4,
18,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
19,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
19,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
19,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\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 StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder result = new StringBuilder(\"\");",
"result",
"new StringBuilder(\"\")",
"while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }",
"if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }",
"!result.toString().equals(\"\")",
"result.toString().equals(\"\")",
"result.toString().equals",
"result.toString()",
"result.toString",
"result",
"\"\"",
"{\n result.append(\"\\n\");\n }",
"result.append(\"\\n\")",
"result.append",
"result",
"\"\\n\"",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"result.append(String.valueOf(sum).length())",
"result.append",
"result",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"System.out.println(result.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.toString()",
"result.toString",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.append(\"\\n\");\n }\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n result.append(String.valueOf(sum).length());\n }\n\n System.out.println(result.toString());\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
StringBuilder result = new StringBuilder("");
while(sc.hasNextInt()) {
if (!result.toString().equals("")) {
result.append("\n");
}
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
result.append(String.valueOf(sum).length());
}
System.out.println(result.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
11,
1,
4,
18,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
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
],
[
79,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
79,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
29,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
79,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
79,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
64,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"\nimport java.util.*;\nimport static java.lang.Math.*;\nimport static java.util.Arrays.*;\n\npublic class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}",
"Main",
"int INF = 1 << 28;",
"INF",
"1 << 28",
"1",
"28",
"void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"run",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
";",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String str = String.valueOf(a+b);",
"str",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}",
"debug",
"{\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}",
"public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueOf(a+b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}",
"Main"
] |
import java.util.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;
public class Main {
int INF = 1 << 28;
void run() {
Scanner sc = new Scanner(System.in);
for(;sc.hasNext();) {
int a = sc.nextInt();
int b = sc.nextInt();
String str = String.valueOf(a+b);
System.out.println(str.length());
}
}
public static void main(String[] args) {
new Main().run();
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
2,
13,
17,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
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
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
19,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\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 while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }",
"int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());",
"num",
"Integer.parseInt(sc.next()) + Integer.parseInt(sc.next())",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int ans = 1;",
"ans",
"1",
"while (num / 10 != 0) {\n ans++;\n num /= 10;\n }",
"num / 10 != 0",
"num / 10",
"num",
"10",
"0",
"{\n ans++;\n num /= 10;\n }",
"ans++",
"ans",
"num /= 10",
"num",
"10",
"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 while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != 0) {\n ans++;\n num /= 10;\n }\n System.out.println(ans);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());
int ans = 1;
while (num / 10 != 0) {
ans++;
num /= 10;
}
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
85,
11
],
[
85,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
43,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
43,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
43,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
12,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String x = \"\";",
"x",
"\"\"",
"try {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t}",
"while ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}",
"(x = in.readLine()) != null",
"(x = in.readLine())",
"x",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}",
"String[] ab = x.split(\" \");",
"ab",
"x.split(\" \")",
"x.split",
"x",
"\" \"",
"int a = Integer.parseInt(ab[0]);",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"int b = Integer.parseInt(ab[1]);",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"String str = String.valueOf(a + b);",
"str",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tString[] ab = x.split(\" \");\n\t\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\tString str = String.valueOf(a + b);\n\t\t\t\tSystem.out.println(str.length());\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
while ((x = in.readLine()) != null) {
String[] ab = x.split(" ");
int a = Integer.parseInt(ab[0]);
int b = Integer.parseInt(ab[1]);
String str = String.valueOf(a + b);
System.out.println(str.length());
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
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
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
58,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.*;\npublic class Main {\n\n\tpublic void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}\n\n}",
"Main",
"public void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}",
"doIt",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int digit = Integer.toString(sum).length();",
"digit",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"public static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}",
"main",
"{\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}",
"Main obj = new Main();",
"obj",
"new Main()",
"obj.doIt()",
"obj.doIt",
"obj",
"String[] args",
"args",
"public class Main {\n\n\tpublic void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.doIt();\n\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public void doIt(){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
int digit = Integer.toString(sum).length();
System.out.println(digit);
}
}
public static void main(String[] args) {
Main obj = new Main();
obj.doIt();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
4,
18,
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
],
[
73,
11
],
[
73,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
16,
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
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
12,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\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\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}",
"{\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"List<Integer> lines = new ArrayList<>();",
"lines",
"new ArrayList<>()",
"while(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}",
"lines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()))",
"lines.add",
"lines",
"Integer.valueOf(sc.nextInt() + sc.nextInt())",
"Integer.valueOf",
"Integer",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < lines.size()",
"i",
"lines.size()",
"lines.size",
"lines",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}",
"System.out.println(String.valueOf(lines.get(i)).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(lines.get(i)).length()",
"String.valueOf(lines.get(i)).length",
"String.valueOf(lines.get(i))",
"String.valueOf",
"String",
"lines.get(i)",
"lines.get",
"lines",
"i",
"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\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\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\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));\n\t\t\t}\n\t\t\tfor (int i = 0; i < lines.size(); i++) {\n\t\t\t\tSystem.out.println(String.valueOf(lines.get(i)).length());\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
List<Integer> lines = new ArrayList<>();
while(sc.hasNext()) {
lines.add(Integer.valueOf(sc.nextInt() + sc.nextInt()));
}
for (int i = 0; i < lines.size(); i++) {
System.out.println(String.valueOf(lines.get(i)).length());
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
20,
0,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
0,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
0,
13,
4,
18,
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
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
31,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
31,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
31,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
9,
69
],
[
69,
70
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main{\n public static void main(String[] args)throws IOException{\n\tString a;\n\tint b;\n\tInputStreamReader isr=new InputStreamReader(System.in);\n\tBufferedReader br =new BufferedReader(isr);\n\ta= br.readLine();\n\twhile(a!=null){\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }\n}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n\tString a;\n\tint b;\n\tInputStreamReader isr=new InputStreamReader(System.in);\n\tBufferedReader br =new BufferedReader(isr);\n\ta= br.readLine();\n\twhile(a!=null){\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }\n}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\tString a;\n\tint b;\n\tInputStreamReader isr=new InputStreamReader(System.in);\n\tBufferedReader br =new BufferedReader(isr);\n\ta= br.readLine();\n\twhile(a!=null){\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }\n}",
"main",
"{\n\tString a;\n\tint b;\n\tInputStreamReader isr=new InputStreamReader(System.in);\n\tBufferedReader br =new BufferedReader(isr);\n\ta= br.readLine();\n\twhile(a!=null){\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }\n}",
"String a;",
"a",
"int b;",
"b",
"InputStreamReader isr=new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br =new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"a= br.readLine()",
"a",
"br.readLine()",
"br.readLine",
"br",
"while(a!=null){\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }",
"a!=null",
"a",
"null",
"{\n\t StringTokenizer st = new StringTokenizer(a);\n\t b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n\t b=(int)Math.log10(b)+1;\n\t System.out.println(b);\n\t a=br.readLine();\n\t }",
"StringTokenizer st = new StringTokenizer(a);",
"st",
"new StringTokenizer(a)",
"b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken())",
"b",
"Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken())",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"b=(int)Math.log10(b)+1",
"b",
"(int)Math.log10(b)+1",
"(int)Math.log10(b)",
"Math.log10",
"Math",
"b",
"1",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"a=br.readLine()",
"a",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] args)throws IOException{
String a;
int b;
InputStreamReader isr=new InputStreamReader(System.in);
BufferedReader br =new BufferedReader(isr);
a= br.readLine();
while(a!=null){
StringTokenizer st = new StringTokenizer(a);
b=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());
b=(int)Math.log10(b)+1;
System.out.println(b);
a=br.readLine();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
4,
18,
13,
17,
3,
0,
13,
4,
18,
13,
13,
14,
4,
18,
13,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
105,
14
],
[
105,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
28,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
28,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
54,
58
],
[
53,
59
],
[
52,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
70,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
70,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
15,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.regex.Matcher;",
"Matcher",
"java.util.regex",
"import java.util.regex.Pattern;",
"Pattern",
"java.util.regex",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"try {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Pattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");",
"pattern",
"Pattern.compile(\"([0-9]+) *([0-9]+)\")",
"Pattern.compile",
"Pattern",
"\"([0-9]+) *([0-9]+)\"",
"BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"Matcher matcher;",
"matcher",
"String temp;",
"temp",
"int sum;",
"sum",
"while((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}",
"(temp = bf.readLine() ) != null",
"(temp = bf.readLine() )",
"temp",
"bf.readLine()",
"bf.readLine",
"bf",
"null",
"{\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}",
"if(temp.length()==0)break;",
"temp.length()==0",
"temp.length()",
"temp.length",
"temp",
"0",
"break;",
"matcher = pattern.matcher(temp)",
"matcher",
"pattern.matcher(temp)",
"pattern.matcher",
"pattern",
"temp",
"if(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}",
"matcher.matches()",
"matcher.matches",
"matcher",
"{\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}",
"sum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2))",
"sum",
"Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2))",
"Integer.parseInt(matcher.group(1))",
"Integer.parseInt",
"Integer",
"matcher.group(1)",
"matcher.group",
"matcher",
"1",
"Integer.parseInt(matcher.group(2))",
"Integer.parseInt",
"Integer",
"matcher.group(2)",
"matcher.group",
"matcher",
"2",
"temp=Integer.toString(sum)",
"temp",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"System.out.println(temp.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"temp.length()",
"temp.length",
"temp",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tMatcher matcher;\n\t\t\tString temp;\n\t\t\tint sum;\n\t\t\twhile((temp = bf.readLine() ) != null){\n\t\t\t\tif(temp.length()==0)break;\n\t\t\t\tmatcher = pattern.matcher(temp);\n\t\t\t\tif(matcher.matches()){\n\t\t\t\t\tsum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));\n\t\t\t\t\ttemp=Integer.toString(sum);\n\t\t\t\t\tSystem.out.println(temp.length());\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
try {
Pattern pattern = Pattern.compile("([0-9]+) *([0-9]+)");
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
Matcher matcher;
String temp;
int sum;
while((temp = bf.readLine() ) != null){
if(temp.length()==0)break;
matcher = pattern.matcher(temp);
if(matcher.matches()){
sum=Integer.parseInt(matcher.group(1))+Integer.parseInt(matcher.group(2));
temp=Integer.toString(sum);
System.out.println(temp.length());
}
}
}catch(Exception e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
20,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
6,
52
],
[
52,
53
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"try\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}",
"catch(Exception e)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Integer.toString(i));\n\t\t\t}",
"int n = sc.nextInt() + sc.nextInt();",
"n",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i = 1;",
"i",
"1",
"while (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}",
"n >= 10",
"n",
"10",
"{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\ti++;\n\t\t\t\t}",
"n /= 10",
"n",
"10",
"i++",
"i",
"System.out.println(Integer.toString(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(i)",
"Integer.toString",
"Integer",
"i",
"String args[]",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
while(true)
{
try
{
int n = sc.nextInt() + sc.nextInt();
int i = 1;
while (n >= 10)
{
n /= 10;
i++;
}
System.out.println(Integer.toString(i));
}
catch(Exception e)
{
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
0,
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
],
[
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
27,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);",
"r",
"new BufferedReader(new InputStreamReader(System.in),1)",
"String input = r.readLine();",
"input",
"r.readLine()",
"r.readLine",
"r",
"while (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}",
"input != null",
"input",
"null",
"{\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}",
"String[] s = input.split(\" \");",
"s",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int a = Integer.valueOf(s[0]);",
"a",
"Integer.valueOf(s[0])",
"Integer.valueOf",
"Integer",
"s[0]",
"s",
"0",
"int b = Integer.valueOf(s[1]);",
"b",
"Integer.valueOf(s[1])",
"Integer.valueOf",
"Integer",
"s[1]",
"s",
"1",
"System.out.println(String.valueOf(a+b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"input = r.readLine()",
"input",
"r.readLine()",
"r.readLine",
"r",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input != null){\n\t\t\tString[] s = input.split(\" \");\n\t\t\tint a = Integer.valueOf(s[0]);\n\t\t\tint b = Integer.valueOf(s[1]);\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\tinput = r.readLine();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);
String input = r.readLine();
while (input != null){
String[] s = input.split(" ");
int a = Integer.valueOf(s[0]);
int b = Integer.valueOf(s[1]);
System.out.println(String.valueOf(a+b).length());
input = r.readLine();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
17,
30,
42,
2,
13,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
38,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
12,
67
],
[
67,
68
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = new String[1];\n\t\ttry{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}catch(Exception e){\n\t\tSystem.exit(0);\n\t}\n\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = new String[1];\n\t\ttry{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}catch(Exception e){\n\t\tSystem.exit(0);\n\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = new String[1];\n\t\ttry{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}catch(Exception e){\n\t\tSystem.exit(0);\n\t}\n\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = new String[1];\n\t\ttry{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}catch(Exception e){\n\t\tSystem.exit(0);\n\t}\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str[] = new String[1];",
"str",
"new String[1]",
"1",
"try{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}catch(Exception e){\n\t\tSystem.exit(0);\n\t}",
"catch(Exception e){\n\t\tSystem.exit(0);\n\t}",
"Exception e",
"{\n\t\tSystem.exit(0);\n\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\twhile(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}\n\n\t}",
"while(str !=null){\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}",
"str !=null",
"str",
"null",
"{\n\n\t\t\tstr = br.readLine().split(\" \");\n\n\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());\n\n\t\t}",
"str = br.readLine().split(\" \")",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"System.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length()",
"String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length",
"String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1]))",
"String.valueOf",
"String",
"Integer.parseInt(str[0])+Integer.parseInt(str[1])",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = new String[1];
try{
while(str !=null){
str = br.readLine().split(" ");
System.out.println(String.valueOf(Integer.parseInt(str[0])+Integer.parseInt(str[1])).length());
}
}catch(Exception e){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
4,
18,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
16,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
16,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }",
"String[] array = sc.nextLine().split(\"[\\\\s]\");",
"array",
"sc.nextLine().split(\"[\\\\s]\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"[\\\\s]\"",
"int n1 = Integer.parseInt(array[0]);",
"n1",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int n2 = Integer.parseInt(array[1]);",
"n2",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"int num = n1 + n2;",
"num",
"n1 + n2",
"n1",
"n2",
"System.out.println(Integer.toString(num).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(num).length()",
"Integer.toString(num).length",
"Integer.toString(num)",
"Integer.toString",
"Integer",
"num",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = Integer.parseInt(array[1]);\n\n int num = n1 + n2;\n System.out.println(Integer.toString(num).length());\n }\n sc.close();\n\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String[] array = sc.nextLine().split("[\\s]");
int n1 = Integer.parseInt(array[0]);
int n2 = Integer.parseInt(array[1]);
int num = n1 + n2;
System.out.println(Integer.toString(num).length());
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
20,
23,
13,
12,
13,
30,
4,
18,
20,
6,
13,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
55,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
55,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.*;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}\n }\n \n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public Main(){\n \tnew AOJ().doIt();\n }",
"Main",
"{\n \tnew AOJ().doIt();\n }",
"new AOJ().doIt()",
"new AOJ().doIt",
"new AOJ()",
"class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}\n }",
"AOJ",
"void doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}",
"doIt",
"{\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}",
"while(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}",
"in.hasNext()",
"in.hasNext",
"in",
"{\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println(Integer.toString(a+b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(a+b).length()",
"Integer.toString(a+b).length",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}\n }\n \n}",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt();\n \t\tint b = in.nextInt();\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\t}\n \t}\n }\n \n}",
"Main"
] | import java.util.*;
public class Main {
Scanner in = new Scanner(System.in);
public static void main(String[] args) {
new Main();
}
public Main(){
new AOJ().doIt();
}
class AOJ{
void doIt(){
while(in.hasNext()){
int a = in.nextInt();
int b = in.nextInt();
System.out.println(Integer.toString(a+b).length());
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
17,
0,
13,
20,
17,
0,
13,
20,
17,
0,
13,
20,
17,
42,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
0,
18,
13,
13,
2,
18,
13,
13,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
54,
66
],
[
39,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
39,
78
],
[
78,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
93,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
105,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
117,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
117,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
129,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
141,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
141,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
153,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
6,
171
],
[
171,
172
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s;\n\t\tint[] a, b, sum;\n\t\ts = 0;\n\t\t\n\t\ta = new int[200];\n\t\tb = new int[200];\n\t\tsum = new int[200];\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < s; i++){\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s;\n\t\tint[] a, b, sum;\n\t\ts = 0;\n\t\t\n\t\ta = new int[200];\n\t\tb = new int[200];\n\t\tsum = new int[200];\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < s; i++){\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s;\n\t\tint[] a, b, sum;\n\t\ts = 0;\n\t\t\n\t\ta = new int[200];\n\t\tb = new int[200];\n\t\tsum = new int[200];\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < s; i++){\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s;\n\t\tint[] a, b, sum;\n\t\ts = 0;\n\t\t\n\t\ta = new int[200];\n\t\tb = new int[200];\n\t\tsum = new int[200];\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < s; i++){\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int s;",
"s",
"int[] a",
"a",
"b",
"b",
"sum;",
"sum",
"s = 0",
"s",
"0",
"a = new int[200]",
"a",
"new int[200]",
"200",
"b = new int[200]",
"b",
"new int[200]",
"200",
"sum = new int[200]",
"sum",
"new int[200]",
"200",
"while(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\n\t\t\ta[s] = scan.nextInt();\n\t\t\tb[s] = scan.nextInt();\n\t\t\tif(a[s] == 0 && b[s] == 0) break;\n\t\t\t\n\t\t\tsum[s] = a[s] + b[s];\n\t\t\ts++;\n\t\t}",
"a[s] = scan.nextInt()",
"a[s]",
"a",
"s",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b[s] = scan.nextInt()",
"b[s]",
"b",
"s",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a[s] == 0 && b[s] == 0) break;",
"a[s] == 0 && b[s] == 0",
"a[s] == 0",
"a[s]",
"a",
"s",
"0",
"b[s] == 0",
"b[s]",
"b",
"s",
"0",
"break;",
"sum[s] = a[s] + b[s]",
"sum[s]",
"sum",
"s",
"a[s] + b[s]",
"a[s]",
"a",
"s",
"b[s]",
"b",
"s",
"s++",
"s",
"for(int i = 0; i < s; i++){\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s",
"i",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}",
"{\n\t\t\tif(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);\n\t\t}",
"if(sum[i] < 10)System.out.println(1);\n\t\t\telse if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 10",
"sum[i]",
"sum",
"i",
"10",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(sum[i] < 100)System.out.println(2);\n\t\t\telse if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 100",
"sum[i]",
"sum",
"i",
"100",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if(sum[i] < 1000)System.out.println(3);\n\t\t\telse if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 1000",
"sum[i]",
"sum",
"i",
"1000",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if(sum[i] < 10000)System.out.println(4);\n\t\t\telse if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 10000",
"sum[i]",
"sum",
"i",
"10000",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"if(sum[i] < 100000)System.out.println(5);\n\t\t\telse if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 100000",
"sum[i]",
"sum",
"i",
"100000",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"if(sum[i] < 1000000)System.out.println(6);\n\t\t\telse System.out.println(7);",
"sum[i] < 1000000",
"sum[i]",
"sum",
"i",
"1000000",
"System.out.println(6)",
"System.out.println",
"System.out",
"System",
"System.out",
"6",
"System.out.println(7)",
"System.out.println",
"System.out",
"System",
"System.out",
"7",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int s;
int[] a, b, sum;
s = 0;
a = new int[200];
b = new int[200];
sum = new int[200];
while(scan.hasNext()){
a[s] = scan.nextInt();
b[s] = scan.nextInt();
if(a[s] == 0 && b[s] == 0) break;
sum[s] = a[s] + b[s];
s++;
}
for(int i = 0; i < s; i++){
if(sum[i] < 10)System.out.println(1);
else if(sum[i] < 100)System.out.println(2);
else if(sum[i] < 1000)System.out.println(3);
else if(sum[i] < 10000)System.out.println(4);
else if(sum[i] < 100000)System.out.println(5);
else if(sum[i] < 1000000)System.out.println(6);
else System.out.println(7);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
15,
52
],
[
52,
53
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n \n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()){\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\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.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args) throws IOException {\n \n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()){\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()){\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\n }\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()){\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()){\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int v1 = scan.nextInt();\n int v2 = scan.nextInt();\n String s = String.valueOf(v1 + v2);\n System.out.println(s.length());\n }",
"int v1 = scan.nextInt();",
"v1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int v2 = scan.nextInt();",
"v2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String s = String.valueOf(v1 + v2);",
"s",
"String.valueOf(v1 + v2)",
"String.valueOf",
"String",
"v1 + v2",
"v1",
"v2",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
class Main{
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
while (scan.hasNext()){
int v1 = scan.nextInt();
int v2 = scan.nextInt();
String s = String.valueOf(v1 + v2);
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
42,
17,
30,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
0,
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
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
34,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
34,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
34,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
34,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
34,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\t//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main",
"//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}",
"catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception ex",
"{\n\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}",
"true",
"{\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}",
"if(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"str == null",
"str",
"null",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"String[] st = str.split(\" \",0);",
"st",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"int a = Integer.parseInt(st[0]);",
"a",
"Integer.parseInt(st[0])",
"Integer.parseInt",
"Integer",
"st[0]",
"st",
"0",
"int b = Integer.parseInt(st[1]);",
"b",
"Integer.parseInt(st[1])",
"Integer.parseInt",
"Integer",
"st[1]",
"st",
"1",
"int sum = a+b;",
"sum",
"a+b",
"a",
"b",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\n\t//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"public class Main {\n\n\t//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine();\n\t\t\twhile(true){\n\t\t\t\tif(str == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tString[] st = str.split(\" \",0);\n\t\t\t\tint a = Integer.parseInt(st[0]);\n\t\t\t\tint b = Integer.parseInt(st[1]);\n\t\t\t\tint sum = a+b;\n\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\tstr = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
//0002
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
String str = br.readLine();
while(true){
if(str == null){
break;
}
String[] st = str.split(" ",0);
int a = Integer.parseInt(st[0]);
int b = Integer.parseInt(st[1]);
int sum = a+b;
System.out.println(String.valueOf(sum).length());
str = br.readLine();
}
}catch(Exception ex){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\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 while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);;\n while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }",
"String[] line = sc.nextLine().split(\" \");",
"line",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);",
"sum",
"Integer.parseInt(line[0]) + Integer.parseInt(line[1])",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n while(sc.hasNext()) {\n String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);;
while(sc.hasNext()) {
String[] line = sc.nextLine().split(" ");
int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
2,
18,
13,
17,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
16,
29
],
[
29,
30
],
[
29,
31
],
[
16,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
16,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
16,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
16,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()) {\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()) {\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()) {\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()) {\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()) {\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }\n int c = ls2[0] + ls2[1];\n int ans = String.valueOf(c).length();\n System.out.println(ans);\n }",
"String ab = in.nextLine();",
"ab",
"in.nextLine()",
"in.nextLine",
"in",
"String[] ls = ab.split(\" \",0);",
"ls",
"ab.split(\" \",0)",
"ab.split",
"ab",
"\" \"",
"0",
"int[] ls2 = new int[2];",
"ls2",
"new int[2]",
"2",
"for (int i = 0 ; i < 2; i++) {\n ls2[i] = Integer.parseInt(ls[i]);\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n ls2[i] = Integer.parseInt(ls[i]);\n }",
"{\n ls2[i] = Integer.parseInt(ls[i]);\n }",
"ls2[i] = Integer.parseInt(ls[i])",
"ls2[i]",
"ls2",
"i",
"Integer.parseInt(ls[i])",
"Integer.parseInt",
"Integer",
"ls[i]",
"ls",
"i",
"int c = ls2[0] + ls2[1];",
"c",
"ls2[0] + ls2[1]",
"ls2[0]",
"ls2",
"0",
"ls2[1]",
"ls2",
"1",
"int ans = String.valueOf(c).length();",
"ans",
"String.valueOf(c).length()",
"String.valueOf(c).length",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()) {
String ab = in.nextLine();
String[] ls = ab.split(" ",0);
int[] ls2 = new int[2];
for (int i = 0 ; i < 2; i++) {
ls2[i] = Integer.parseInt(ls[i]);
}
int c = ls2[0] + ls2[1];
int ans = String.valueOf(c).length();
System.out.println(ans);
}
}
} |
[
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,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
41,
13,
2,
13,
13,
4,
18,
13,
4,
18,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
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
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
48,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
48,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
48,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
39,
85
],
[
85,
86
],
[
85,
87
],
[
85,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
15,
96
],
[
96,
97
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tArrayList<Integer> output = new ArrayList<Integer>();\n\t\tString input;\n\t\ttry {\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tArrayList<Integer> output = new ArrayList<Integer>();\n\t\tString input;\n\t\ttry {\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tArrayList<Integer> output = new ArrayList<Integer>();\n\t\tString input;\n\t\ttry {\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tArrayList<Integer> output = new ArrayList<Integer>();\n\t\tString input;\n\t\ttry {\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"ArrayList<Integer> output = new ArrayList<Integer>();",
"output",
"new ArrayList<Integer>()",
"String input;",
"input",
"try {\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\twhile ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}\n\t\t\tfor(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"while ((input = br.readLine()) != null) {\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}",
"(input = br.readLine()) != null",
"(input = br.readLine())",
"input",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\t\t\t\tint c = a + b;\n\t\t\t\toutput.add(Integer.toString(c).length());\n\t\t\t}",
"int a = Integer.parseInt(input.split(\" \")[0]);",
"a",
"Integer.parseInt(input.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"input.split(\" \")[0]",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"0",
"int b = Integer.parseInt(input.split(\" \")[1]);",
"b",
"Integer.parseInt(input.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"input.split(\" \")[1]",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"1",
"int c = a + b;",
"c",
"a + b",
"a",
"b",
"output.add(Integer.toString(c).length())",
"output.add",
"output",
"Integer.toString(c).length()",
"Integer.toString(c).length",
"Integer.toString(c)",
"Integer.toString",
"Integer",
"c",
"for(int i: output){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"int i",
"output",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
ArrayList<Integer> output = new ArrayList<Integer>();
String input;
try {
while ((input = br.readLine()) != null) {
int a = Integer.parseInt(input.split(" ")[0]);
int b = Integer.parseInt(input.split(" ")[1]);
int c = a + b;
output.add(Integer.toString(c).length());
}
for(int i: output){
System.out.println(i);
}
} catch (IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
63,
11
],
[
63,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
30,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
30,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.*;\nimport java.util.Scanner ; \nimport java.math.BigInteger;\n\npublic class Main {\n public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner ;",
"Scanner",
"java.util",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\n public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }\n}",
"Main",
"public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }",
"main",
"{\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }",
"BigInteger a",
"a",
"b",
"b",
"r;",
"r",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s;",
"s",
"while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n }",
"sc.hasNextBigInteger()",
"sc.hasNextBigInteger",
"sc",
"{\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n }",
"a = sc.nextBigInteger()",
"a",
"sc.nextBigInteger()",
"sc.nextBigInteger",
"sc",
"b = sc.nextBigInteger()",
"b",
"sc.nextBigInteger()",
"sc.nextBigInteger",
"sc",
"r = a.add(b)",
"r",
"a.add(b)",
"a.add",
"a",
"b",
"s = r.toString()",
"s",
"r.toString()",
"r.toString",
"r",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }\n}",
"public class Main {\n public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger();\n b = sc.nextBigInteger();\n r = a.add(b);\n s = r.toString();\n System.out.println(s.length());\n } \n }\n}",
"Main"
] | import java.util.*;
import java.util.Scanner ;
import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
BigInteger a,b,r;
Scanner sc = new Scanner(System.in);
String s;
while(sc.hasNextBigInteger()){
a = sc.nextBigInteger();
b = sc.nextBigInteger();
r = a.add(b);
s = r.toString();
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
18,
13,
17,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
28,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
28,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
28,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
12,
83
],
[
83,
84
]
] | [
"import java.io.*;\nimport java.math.*;\nimport java.io.*;\n\nclass Main\n{\n\tpublic static void main(String[] arg)throws IOException\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader(System.in));\n\n\t\tString line;\n\t\twhile((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main(String[] arg)throws IOException\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader(System.in));\n\n\t\tString line;\n\t\twhile((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arg)throws IOException\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader(System.in));\n\n\t\tString line;\n\t\twhile((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader(System.in));\n\n\t\tString line;\n\t\twhile((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}\n\t}",
"BufferedReader input = new BufferedReader (new InputStreamReader(System.in));",
"input",
"new BufferedReader (new InputStreamReader(System.in))",
"String line;",
"line",
"while((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}",
"(line=input.readLine())!=null",
"(line=input.readLine())",
"line",
"input.readLine()",
"input.readLine",
"input",
"null",
"{\n\t\t\tString[] str=line.split(\" \");\n\t\t\tint num[]=new int[3];\n\n\t\t\tnum[0]=Integer.parseInt(str[0]);\n\t\t\tnum[1]=Integer.parseInt(str[1]);\n\t\t\tnum[2]=num[1]+num[0];\n\n\t\t\tSystem.out.println((int)Math.log10(num[2])+1); \n\t\t}",
"String[] str=line.split(\" \");",
"str",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int num[]=new int[3];",
"num",
"new int[3]",
"3",
"num[0]=Integer.parseInt(str[0])",
"num[0]",
"num",
"0",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"num[1]=Integer.parseInt(str[1])",
"num[1]",
"num",
"1",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"num[2]=num[1]+num[0]",
"num[2]",
"num",
"2",
"num[1]+num[0]",
"num[1]",
"num",
"1",
"num[0]",
"num",
"0",
"System.out.println((int)Math.log10(num[2])+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(num[2])+1",
"(int)Math.log10(num[2])",
"Math.log10",
"Math",
"num[2]",
"num",
"2",
"1",
"String[] arg",
"arg"
] | import java.io.*;
import java.math.*;
import java.io.*;
class Main
{
public static void main(String[] arg)throws IOException
{
BufferedReader input = new BufferedReader (new InputStreamReader(System.in));
String line;
while((line=input.readLine())!=null)
{
String[] str=line.split(" ");
int num[]=new int[3];
num[0]=Integer.parseInt(str[0]);
num[1]=Integer.parseInt(str[1]);
num[2]=num[1]+num[0];
System.out.println((int)Math.log10(num[2])+1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
26,
28
],
[
16,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
16,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
4,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\n\nclass Main {\n private void digitNumber() {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }\n }\n\n public static void main(String[] args) {\n (new Main()).digitNumber();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n private void digitNumber() {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }\n }\n\n public static void main(String[] args) {\n (new Main()).digitNumber();\n }\n}",
"Main",
"private void digitNumber() {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }\n }",
"digitNumber",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n }\n System.out.println(c);\n }",
"int sum = sc.nextInt() + sc.nextInt();",
"sum",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = 0;",
"c",
"0",
"while (sum != 0) {\n c++;\n sum /= 10;\n }",
"sum != 0",
"sum",
"0",
"{\n c++;\n sum /= 10;\n }",
"c++",
"c",
"sum /= 10",
"sum",
"10",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"public static void main(String[] args) {\n (new Main()).digitNumber();\n }",
"main",
"{\n (new Main()).digitNumber();\n }",
"(new Main()).digitNumber()",
"(new Main()).digitNumber",
"(new Main())",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
private void digitNumber() {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int sum = sc.nextInt() + sc.nextInt();
int c = 0;
while (sum != 0) {
c++;
sum /= 10;
}
System.out.println(c);
}
}
public static void main(String[] args) {
(new Main()).digitNumber();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int count = String.valueOf(a + b).length();",
"count",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[]args",
"args",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
int a = scan.nextInt();
int b = scan.nextInt();
int count = String.valueOf(a + b).length();
System.out.println(count);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
53,
2
],
[
53,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
13,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
13,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
13,
29
],
[
29,
30
],
[
29,
31
],
[
13,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
13,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
3,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"while ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int count = 0;",
"count",
"0",
"while (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}",
"sum != 0",
"sum",
"0",
"{\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}",
"sum = sum / 10",
"sum",
"sum / 10",
"sum",
"10",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\n\t\t\tint count = 0;\n\t\t\twhile (sum != 0) {\n\t\t\t\tsum = sum / 10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
java.util.Scanner sc = new java.util.Scanner(System.in);
while ( sc.hasNext() ) {
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
int count = 0;
while (sum != 0) {
sum = sum / 10;
count++;
}
System.out.println(count);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
2,
17,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
6,
35
],
[
35,
36
],
[
53,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
37,
48
],
[
48,
49
],
[
37,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static int digitNumber(int a, int b){\n\t\treturn (\"\"+(a+b)).length();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static int digitNumber(int a, int b){\n\t\treturn (\"\"+(a+b)).length();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}",
"try(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}",
"{\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"while(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}",
"int result = digitNumber(scanner.nextInt(), scanner.nextInt());",
"result",
"digitNumber(scanner.nextInt(), scanner.nextInt())",
"digitNumber",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public static int digitNumber(int a, int b){\n\t\treturn (\"\"+(a+b)).length();\n\t}",
"digitNumber",
"{\n\t\treturn (\"\"+(a+b)).length();\n\t}",
"return (\"\"+(a+b)).length();",
"(\"\"+(a+b)).length()",
"(\"\"+(a+b)).length",
"(\"\"+(a+b))",
"\"\"",
"(a+b)",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static int digitNumber(int a, int b){\n\t\treturn (\"\"+(a+b)).length();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static int digitNumber(int a, int b){\n\t\treturn (\"\"+(a+b)).length();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner scanner = new Scanner(System.in)){
while(scanner.hasNext()){
int result = digitNumber(scanner.nextInt(), scanner.nextInt());
System.out.println(result);
}
}
}
public static int digitNumber(int a, int b){
return (""+(a+b)).length();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
4,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
29,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
26,
28
],
[
16,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
75,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
48,
70
],
[
70,
71
],
[
46,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}\n\n\tprivate static int tene(int digit){\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}\n\n\tprivate static int tene(int digit){\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}",
"int num = sc.nextInt() + sc. nextInt();",
"num",
"sc.nextInt() + sc. nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc. nextInt()",
"sc. nextInt",
"sc",
"int d = 1;",
"d",
"1",
"while(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}",
"num >= tene(d)",
"num",
"tene(d)",
"tene",
"d",
"{\n\t\t\t\td++;\n\t\t\t}",
"d++",
"d",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"String[] args",
"args",
"private static int tene(int digit){\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}",
"tene",
"{\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}",
"int t = 1;",
"t",
"1",
"for(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < digit",
"i",
"digit",
"i++",
"i++",
"i",
"{\n\t\t\tt=t*10;\n\t\t}",
"{\n\t\t\tt=t*10;\n\t\t}",
"t=t*10",
"t",
"t*10",
"t",
"10",
"return t;",
"t",
"int digit",
"digit",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}\n\n\tprivate static int tene(int digit){\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t}\n\n\tprivate static int tene(int digit){\n\t\tint t = 1;\n\t\t\n\t\tfor(int i = 0; i < digit; i++){\n\t\t\tt=t*10;\n\t\t}\n\t\t\n\t\treturn t;\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int num = sc.nextInt() + sc. nextInt();
int d = 1;
while(num >= tene(d)){
d++;
}
System.out.println(d);
}
}
private static int tene(int digit){
int t = 1;
for(int i = 0; i < digit; i++){
t=t*10;
}
return t;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}",
"main",
"{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"String checkSumLength = String.valueOf(sum);",
"checkSumLength",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"System.out.println(checkSumLength.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"checkSumLength.length()",
"checkSumLength.length",
"checkSumLength",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLength = String.valueOf(sum);\n\n\t\t\tSystem.out.println(checkSumLength.length());\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
String checkSumLength = String.valueOf(sum);
System.out.println(checkSumLength.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"String result = String.valueOf(a+b);",
"result",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"System.out.println(result.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.length()",
"result.length",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\n System.out.println(result.length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
String result = String.valueOf(a+b);
System.out.println(result.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
6,
17
],
[
17,
18
],
[
55,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
26,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
19,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"main",
"{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }",
"{\n solve(in);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"solve(in)",
"solve",
"in",
"String[] args",
"args",
"private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }",
"solve",
"{\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }",
"while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }",
"int a = in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"String s = (a + b) + \"\";",
"s",
"(a + b) + \"\"",
"(a + b)",
"a",
"b",
"\"\"",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"Scanner in",
"in",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.nextInt();\n String s = (a + b) + \"\";\n System.out.println(s.length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
solve(in);
}
}
private static void solve(Scanner in) {
while (in.hasNext()) {
int a = in.nextInt(), b = in.nextInt();
String s = (a + b) + "";
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
17,
30,
9,
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
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
37,
67
],
[
67,
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\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\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\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}",
"final int lowerLimit = 0;",
"lowerLimit",
"0",
"final int upperLimit = 1000000;",
"upperLimit",
"1000000",
"int num1",
"num1",
"num2;",
"num2",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"num1 = scan.nextInt()",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num2 = scan.nextInt()",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}",
"(num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)",
"(num1 >= lowerLimit && num1 <= upperLimit)",
"num1 >= lowerLimit",
"num1",
"lowerLimit",
"num1 <= upperLimit",
"num1",
"upperLimit",
"(num2 >= lowerLimit && num2 <= upperLimit)",
"num2 >= lowerLimit",
"num2",
"lowerLimit",
"num2 <= upperLimit",
"num2",
"upperLimit",
"{\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t}",
"System.out.println((int)Math.log10(num1 + num2) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(num1 + num2) + 1",
"(int)Math.log10(num1 + num2)",
"Math.log10",
"Math",
"num1 + num2",
"num1",
"num2",
"1",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\t\n\t\t\tif((num1 >= lowerLimit && num1 <= upperLimit)\n\t\t\t\t&& (num2 >= lowerLimit && num2 <= upperLimit)) {\n\t\t\t\tSystem.out.println((int)Math.log10(num1 + num2) + 1);\t\t\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final int lowerLimit = 0;
final int upperLimit = 1000000;
int num1, num2;
Scanner scan = new Scanner(System.in);
while(scan.hasNext()) {
num1 = scan.nextInt();
num2 = scan.nextInt();
if((num1 >= lowerLimit && num1 <= upperLimit)
&& (num2 >= lowerLimit && num2 <= upperLimit)) {
System.out.println((int)Math.log10(num1 + num2) + 1);
} else {
continue;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
16,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\nwhile(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\nwhile(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\nwhile(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n\nwhile(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }",
"s.hasNext()",
"s.hasNext",
"s",
"{\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }",
"int a = s.nextInt();",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"int b = s.nextInt();",
"b",
"s.nextInt()",
"s.nextInt",
"s",
"a += b",
"a",
"b",
"String c = String.valueOf(a);",
"c",
"String.valueOf(a)",
"String.valueOf",
"String",
"a",
"System.out.println(c.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"c.length()",
"c.length",
"c",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
while(s.hasNext()){
int a = s.nextInt();
int b = s.nextInt();
a += b;
String c = String.valueOf(a);
System.out.println(c.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}",
"in.hasNext()",
"in.hasNext",
"in",
"{\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"int c = (int)Math.log10(a+b) + 1;",
"c",
"(int)Math.log10(a+b) + 1",
"(int)Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int a = in.nextInt();
int b = in.nextInt();
int c = (int)Math.log10(a+b) + 1;
System.out.println(c);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
41,
13,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
14,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
14,
59
],
[
59,
60
],
[
59,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}",
"main",
"{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}",
"true",
"{\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}",
"String s=reader.readLine();",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"if(s==null)System.exit(0);",
"s==null",
"s",
"null",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] t=s.split(\" \");",
"t",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a",
"a",
"b;",
"b",
"a=Integer.parseInt(t[0])",
"a",
"Integer.parseInt(t[0])",
"Integer.parseInt",
"Integer",
"t[0]",
"t",
"0",
"b=Integer.parseInt(t[1])",
"b",
"Integer.parseInt(t[1])",
"Integer.parseInt",
"Integer",
"t[1]",
"t",
"1",
"int sum=a+b;",
"sum",
"a+b",
"a",
"b",
"int co=0;",
"co",
"0",
"while(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}",
"sum>0",
"sum",
"0",
"{\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}",
"co++",
"co",
"sum/=10",
"sum",
"10",
"System.out.println(co)",
"System.out.println",
"System.out",
"System",
"System.out",
"co",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a,b;\n\t\t\ta=Integer.parseInt(t[0]);\n\t\t\tb=Integer.parseInt(t[1]);\n\t\t\tint sum=a+b;\n\t\t\tint co=0;\n\t\t\twhile(sum>0){\n\t\t\t\tco++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(co);\n\t\t}\n\t\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args)throws IOException{
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
while(true){
String s=reader.readLine();
if(s==null)System.exit(0);
String[] t=s.split(" ");
int a,b;
a=Integer.parseInt(t[0]);
b=Integer.parseInt(t[1]);
int sum=a+b;
int co=0;
while(sum>0){
co++;
sum/=10;
}
System.out.println(co);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
19,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
19,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
55,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = a + b;",
"c",
"a + b",
"a",
"b",
"String d = String.valueOf(c);",
"d",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"int len = d.length();",
"len",
"d.length()",
"d.length",
"d",
"list.add(len)",
"list.add",
"list",
"len",
"for(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}",
"int n",
"list",
"{\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}",
"System.out.printf(\"%d\\n\", n)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"n",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tlist.add(len);\n\t\t}\n\n\t\tfor(int n : list){\n\t\t\tSystem.out.printf(\"%d\\n\", n);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
List<Integer> list = new ArrayList<Integer>();
while(scan.hasNext()){
int a = scan.nextInt();
int b = scan.nextInt();
int c = a + b;
String d = String.valueOf(c);
int len = d.length();
list.add(len);
}
for(int n : list){
System.out.printf("%d\n", n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
24,
40
],
[
40,
41
],
[
40,
42
],
[
24,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
24,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c,d;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c,d;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c,d;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c,d;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"c",
"c",
"d;",
"d",
"while(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t System.out.println(d);\n\t}",
"a=sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b=sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c=a+b",
"c",
"a+b",
"a",
"b",
"d=0",
"d",
"0",
"while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}",
"c>0",
"c",
"0",
"{\n\t\t c/=10;\n\t\t d++;\n\t\t}",
"c/=10",
"c",
"10",
"d++",
"d",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c,d;
while(sc.hasNextInt()){
a=sc.nextInt();
b=sc.nextInt();
c=a+b;
d=0;
while(c>0)
{
c/=10;
d++;
}
System.out.println(d);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
20,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
0,
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
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
37,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
37,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
37,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
37,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
37,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a",
"a",
"b",
"b",
"w;",
"w",
"String str;",
"str",
"String[] s;",
"s",
"str=br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}",
"str !=null",
"str",
"null",
"{\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}",
"StringBuilder out=new StringBuilder();",
"out",
"new StringBuilder()",
"s=str.split(\" \")",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a=Integer.parseInt(s[0])",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"b=Integer.parseInt(s[1])",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"w=a+b",
"w",
"a+b",
"a",
"b",
"out.append(w)",
"out.append",
"out",
"w",
"System.out.println(out.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"out.length()",
"out.length",
"out",
"str=br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=br.readLine();\n\t\twhile(str !=null){\n\t\t\tStringBuilder out=new StringBuilder();\n\t\t\ts=str.split(\" \");\n\t\t\ta=Integer.parseInt(s[0]);\n\t\t\tb=Integer.parseInt(s[1]);\n\t\t\tw=a+b;\n\t\t\tout.append(w);\n\t\t\tSystem.out.println(out.length());\n\t\t\tstr=br.readLine();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int a,b,w;
String str;
String[] s;
str=br.readLine();
while(str !=null){
StringBuilder out=new StringBuilder();
s=str.split(" ");
a=Integer.parseInt(s[0]);
b=Integer.parseInt(s[1]);
w=a+b;
out.append(w);
System.out.println(out.length());
str=br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
16,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
9,
55
],
[
55,
56
],
[
76,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
76,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"while (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}",
"String[] numSet = input().split(\" \");",
"numSet",
"input().split(\" \")",
"input().split",
"input()",
"input",
"\" \"",
"int a = Integer.parseInt(numSet[0]);",
"a",
"Integer.parseInt(numSet[0])",
"Integer.parseInt",
"Integer",
"numSet[0]",
"numSet",
"0",
"int b = Integer.parseInt(numSet[1]);",
"b",
"Integer.parseInt(numSet[1])",
"Integer.parseInt",
"Integer",
"numSet[1]",
"numSet",
"1",
"System.out.println(String.valueOf(a + b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"close()",
"close",
"String[] args",
"args",
"public static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextLine();\n\n\t}",
"return scanner.nextLine();",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseInt(numSet[1]);\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
while (scanner.hasNext()) {
String[] numSet = input().split(" ");
int a = Integer.parseInt(numSet[0]);
int b = Integer.parseInt(numSet[1]);
System.out.println(String.valueOf(a + b).length());
}
close();
}
public static String input() {
return scanner.nextLine();
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
31,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"main",
"{\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }",
"catch (Exception e) {\n System.exit(0);\n }",
"Exception e",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n }",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"String inData;",
"inData",
"while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }",
"(inData = scan.nextLine()) != null",
"(inData = scan.nextLine())",
"inData",
"scan.nextLine()",
"scan.nextLine",
"scan",
"null",
"{\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }",
"String[] inDataList = inData.split(\" \");",
"inDataList",
"inData.split(\" \")",
"inData.split",
"inData",
"\" \"",
"int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);",
"sum",
"Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1])",
"Integer.parseInt(inDataList[0])",
"Integer.parseInt",
"Integer",
"inDataList[0]",
"inDataList",
"0",
"Integer.parseInt(inDataList[1])",
"Integer.parseInt",
"Integer",
"inDataList[1]",
"inDataList",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);\n System.out.println(String.valueOf(sum).length());\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scan = new Scanner(System.in)) {
String inData;
while ((inData = scan.nextLine()) != null) {
String[] inDataList = inData.split(" ");
int sum = Integer.parseInt(inDataList[0]) + Integer.parseInt(inDataList[1]);
System.out.println(String.valueOf(sum).length());
}
} catch (Exception e) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
25,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
25,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
25,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}",
"String[] num = str.split(\" \",0);",
"num",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"int x = Integer.parseInt(num[0]);",
"x",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int y = Integer.parseInt(num[1]);",
"y",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"int z = x + y;",
"z",
"x + y",
"x",
"y",
"System.out.println(String.valueOf(z).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(z).length()",
"String.valueOf(z).length",
"String.valueOf(z)",
"String.valueOf",
"String",
"z",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\t\t\tint z = x + y;\n\t\t\tSystem.out.println(String.valueOf(z).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
while((str = br.readLine()) != null){
String[] num = str.split(" ",0);
int x = Integer.parseInt(num[0]);
int y = Integer.parseInt(num[1]);
int z = x + y;
System.out.println(String.valueOf(z).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
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
],
[
59,
5
],
[
59,
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
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}",
"main",
"{\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int c = scanner.nextInt();",
"c",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int s = b+c;",
"s",
"b+c",
"b",
"c",
"int d = 0;",
"d",
"0",
"while(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}",
"s!=0",
"s",
"0",
"{\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}",
"s = s/10",
"s",
"s/10",
"s",
"10",
"d++",
"d",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"scanner.close()",
"scanner.close",
"scanner",
"String a[]",
"a",
"public class Main {\n\tpublic static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String a[]){
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
int b = scanner.nextInt();
int c = scanner.nextInt();
int s = b+c;
int d = 0;
while(s!=0){
s = s/10;
d++;
}
System.out.println(d);
}
scanner.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
42,
2,
13,
17,
30,
0,
13,
20,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
35,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
35,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.StringTokenizer;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}",
"catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception ex",
"{\n\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer token;",
"token",
"while(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}",
"input != null",
"input",
"null",
"{\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}",
"token = new StringTokenizer(input)",
"token",
"new StringTokenizer(input)",
"int num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());",
"num",
"Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken())",
"Integer.parseInt(token.nextToken())",
"Integer.parseInt",
"Integer",
"token.nextToken()",
"token.nextToken",
"token",
"Integer.parseInt(token.nextToken())",
"Integer.parseInt",
"Integer",
"token.nextToken()",
"token.nextToken",
"token",
"System.out.println((int)Math.log10(num) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(num) + 1",
"(int)Math.log10(num)",
"Math.log10",
"Math",
"num",
"1",
"input = br.readLine()",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != null){\n\t\t\t\ttoken = new StringTokenizer(input);\n\t\t\t\tint num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());\n\t\t\t\t\n\t\t\t\tSystem.out.println((int)Math.log10(num) + 1);\n\t\t\t\tinput = br.readLine();\n\t\t\t}\n\t\t}catch(Exception ex){\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.StringTokenizer;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
String input = br.readLine();
StringTokenizer token;
while(input != null){
token = new StringTokenizer(input);
int num = Integer.parseInt(token.nextToken()) + Integer.parseInt(token.nextToken());
System.out.println((int)Math.log10(num) + 1);
input = br.readLine();
}
}catch(Exception ex){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
42,
4,
13,
30,
4,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
29,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
80,
15
],
[
15,
16
],
[
80,
17
],
[
17,
18
],
[
80,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
80,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
38,
39
],
[
32,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
32,
50
],
[
50,
51
],
[
80,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
54,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.*;\nimport static java.util.Arrays.*;\nimport static java.lang.Math.*;\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tstatic int a, b;\n\tstatic boolean read() {\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}\n\t\n\tstatic void solve() {\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tstatic int a, b;\n\tstatic boolean read() {\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}\n\t\n\tstatic void solve() {\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int a",
"a",
"b;",
"b",
"public static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}",
"main",
"{\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}",
"while (read()) {\n\t\t\tsolve();\n\t\t}",
"read()",
"read",
"{\n\t\t\tsolve();\n\t\t}",
"solve()",
"solve",
"String[] args",
"args",
"static boolean read() {\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}",
"read",
"{\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}",
"if (!sc.hasNextInt()) return false;",
"!sc.hasNextInt()",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"return false;",
"false",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return true;",
"true",
"static void solve() {\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"solve",
"{\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"int sum = a + b",
"sum",
"a + b",
"a",
"b",
"res = 0;",
"res",
"0",
"while (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}",
"sum > 0",
"sum",
"0",
"{\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}",
"sum /= 10",
"sum",
"10",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tstatic int a, b;\n\tstatic boolean read() {\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}\n\t\n\tstatic void solve() {\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tstatic int a, b;\n\tstatic boolean read() {\n\t\tif (!sc.hasNextInt()) return false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\treturn true;\n\t}\n\t\n\tstatic void solve() {\n\t\tint sum = a + b, res = 0;\n\t\twhile (sum > 0) {\n\t\t\tsum /= 10;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main"
] | import java.util.*;
import static java.util.Arrays.*;
import static java.lang.Math.*;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
while (read()) {
solve();
}
}
static int a, b;
static boolean read() {
if (!sc.hasNextInt()) return false;
a = sc.nextInt(); b = sc.nextInt();
return true;
}
static void solve() {
int sum = a + b, res = 0;
while (sum > 0) {
sum /= 10;
res++;
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
17,
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
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }\n }",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }\n }",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String t;",
"t",
"while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }",
"(t=buf.readLine())!=null",
"(t=buf.readLine())",
"t",
"buf.readLine()",
"buf.readLine",
"buf",
"null",
"{\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }",
"String str[]=t.split(\" \");",
"str",
"t.split(\" \")",
"t.split",
"t",
"\" \"",
"int x=Integer.parseInt(str[0]);",
"x",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int y=Integer.parseInt(str[1]);",
"y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"System.out.println((int)Math.log10(x+y)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(x+y)+1",
"(int)Math.log10(x+y)",
"Math.log10",
"Math",
"x+y",
"x",
"y",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }\n }",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n int x=Integer.parseInt(str[0]);\n int y=Integer.parseInt(str[1]);\n \n System.out.println((int)Math.log10(x+y)+1);\n }\n }\n }",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
String t;
while((t=buf.readLine())!=null){
String str[]=t.split(" ");
int x=Integer.parseInt(str[0]);
int y=Integer.parseInt(str[1]);
System.out.println((int)Math.log10(x+y)+1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}",
"main",
"{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}",
"int firstinput;",
"firstinput",
"int secondinput;",
"secondinput",
"int length;",
"length",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}",
"firstinput = scan.nextInt()",
"firstinput",
"scan.nextInt()",
"scan.nextInt",
"scan",
"secondinput = scan.nextInt()",
"secondinput",
"scan.nextInt()",
"scan.nextInt",
"scan",
"length = String.valueOf((firstinput + secondinput)).length()",
"length",
"String.valueOf((firstinput + secondinput)).length()",
"String.valueOf((firstinput + secondinput)).length",
"String.valueOf((firstinput + secondinput))",
"String.valueOf",
"String",
"(firstinput + secondinput)",
"firstinput",
"secondinput",
"System.out.println(length)",
"System.out.println",
"System.out",
"System",
"System.out",
"length",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = scan.nextInt();\n\t\t\tsecondinput = scan.nextInt();\n\t\t\tlength = String.valueOf((firstinput + secondinput)).length();\n\t\t\tSystem.out.println(length);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main{
public static void main(String[] args) throws NumberFormatException, IOException{
int firstinput;
int secondinput;
int length;
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
firstinput = scan.nextInt();
secondinput = scan.nextInt();
length = String.valueOf((firstinput + secondinput)).length();
System.out.println(length);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
40,
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
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
23,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
23,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.*;\n \npublic class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }",
"main",
"{\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = 0;",
"count",
"0",
"while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }",
"sc.hasNext() && count<201",
"sc.hasNext()",
"sc.hasNext",
"sc",
"count<201",
"count",
"201",
"{\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = s.split(\" \");",
"array",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a = Integer.parseInt(array[0]);",
"a",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int b = Integer.parseInt(array[1]);",
"b",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"int valLen = String.valueOf(a+b).length();",
"valLen",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"System.out.println(valLen)",
"System.out.println",
"System.out",
"System",
"System.out",
"valLen",
"count++",
"count",
"String args[]",
"args",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }\n}",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array = s.split(\" \");\n \n int a = Integer.parseInt(array[0]);\n int b = Integer.parseInt(array[1]);\n \n int valLen = String.valueOf(a+b).length();\n System.out.println(valLen);\n \n count++;\n \t }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String args[] ) throws Exception {
Scanner sc = new Scanner(System.in);
int count = 0;
while (sc.hasNext() && count<201){
String s = sc.nextLine();
String[] array = s.split(" ");
int a = Integer.parseInt(array[0]);
int b = Integer.parseInt(array[1]);
int valLen = String.valueOf(a+b).length();
System.out.println(valLen);
count++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
2,
13,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
17,
40,
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
],
[
87,
11
],
[
87,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
28,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
28,
51
],
[
51,
52
],
[
51,
53
],
[
28,
54
],
[
54,
55
],
[
54,
56
],
[
28,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
71,
78
],
[
59,
79
],
[
79,
80
],
[
79,
81
],
[
59,
82
],
[
82,
83
],
[
12,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String readStr;",
"readStr",
"while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }",
"(readStr = reader.readLine()) != null",
"(readStr = reader.readLine())",
"readStr",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }",
"String[] formattedStrs = readStr.split(\" \");",
"formattedStrs",
"readStr.split(\" \")",
"readStr.split",
"readStr",
"\" \"",
"int left = Integer.parseInt(formattedStrs[0]);",
"left",
"Integer.parseInt(formattedStrs[0])",
"Integer.parseInt",
"Integer",
"formattedStrs[0]",
"formattedStrs",
"0",
"int right = Integer.parseInt(formattedStrs[1]);",
"right",
"Integer.parseInt(formattedStrs[1])",
"Integer.parseInt",
"Integer",
"formattedStrs[1]",
"formattedStrs",
"1",
"int weight = 1;",
"weight",
"1",
"int count = 1;",
"count",
"1",
"while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }",
"true",
"{\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }",
"int surplus = (left + right) / weight;",
"surplus",
"(left + right) / weight",
"(left + right)",
"left",
"right",
"weight",
"if (surplus < 10) {\n System.out.println(count);\n break;\n }",
"surplus < 10",
"surplus",
"10",
"{\n System.out.println(count);\n break;\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"weight *= 10",
"weight",
"10",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n String[] formattedStrs = readStr.split(\" \");\n int left = Integer.parseInt(formattedStrs[0]);\n int right = Integer.parseInt(formattedStrs[1]);\n\n int weight = 1;\n int count = 1;\n while (true) {\n int surplus = (left + right) / weight;\n if (surplus < 10) {\n System.out.println(count);\n break;\n }\n weight *= 10;\n count++;\n }\n\n }\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String readStr;
while ((readStr = reader.readLine()) != null) {
String[] formattedStrs = readStr.split(" ");
int left = Integer.parseInt(formattedStrs[0]);
int right = Integer.parseInt(formattedStrs[1]);
int weight = 1;
int count = 1;
while (true) {
int surplus = (left + right) / weight;
if (surplus < 10) {
System.out.println(count);
break;
}
weight *= 10;
count++;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = a + b;",
"c",
"a + b",
"a",
"b",
"String d = \"\" + c;",
"d",
"\"\" + c",
"\"\"",
"c",
"System.out.println(d.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"d.length()",
"d.length",
"d",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSystem.out.println(d.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
int a = scan.nextInt();
int b = scan.nextInt();
int c = a + b;
String d = "" + c;
System.out.println(d.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
40,
4,
18,
13,
30,
41,
13,
20,
0,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
40,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
15,
70
],
[
70,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main{\n public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint sum=0;\n\t\twhile((str=br.readLine()) != null) {\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main{\n public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint sum=0;\n\t\twhile((str=br.readLine()) != null) {\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}\n }\n}",
"Main",
"public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint sum=0;\n\t\twhile((str=br.readLine()) != null) {\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint sum=0;\n\t\twhile((str=br.readLine()) != null) {\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int sum=0;",
"sum",
"0",
"while((str=br.readLine()) != null) {\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}",
"(str=br.readLine()) != null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tif(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}\n\t\t}",
"if(!str.isEmpty()) {\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}",
"!str.isEmpty()",
"str.isEmpty()",
"str.isEmpty",
"str",
"{\n\t\t\t\tStringTokenizer tkn = new StringTokenizer(str, \" \");\n\t\t\t\tsum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());\n\t\t\t\tSystem.out.println((String.valueOf(sum)).length());\n\t\t\t}",
"StringTokenizer tkn = new StringTokenizer(str, \" \");",
"tkn",
"new StringTokenizer(str, \" \")",
"sum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken())",
"sum",
"Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken())",
"Integer.parseInt(tkn.nextToken())",
"Integer.parseInt",
"Integer",
"tkn.nextToken()",
"tkn.nextToken",
"tkn",
"Integer.parseInt(tkn.nextToken())",
"Integer.parseInt",
"Integer",
"tkn.nextToken()",
"tkn.nextToken",
"tkn",
"System.out.println((String.valueOf(sum)).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"(String.valueOf(sum)).length()",
"(String.valueOf(sum)).length",
"(String.valueOf(sum))",
"String.valueOf",
"String",
"sum",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main{
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
int sum=0;
while((str=br.readLine()) != null) {
if(!str.isEmpty()) {
StringTokenizer tkn = new StringTokenizer(str, " ");
sum = Integer.parseInt(tkn.nextToken())+Integer.parseInt(tkn.nextToken());
System.out.println((String.valueOf(sum)).length());
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}\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\twhile(sc.hasNext()){\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}",
"System.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sc.nextInt() + sc.nextInt()).length()",
"Integer.toString(sc.nextInt() + sc.nextInt()).length",
"Integer.toString(sc.nextInt() + sc.nextInt())",
"Integer.toString",
"Integer",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
System.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
13,
13,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
16,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int i = 0;",
"i",
"0",
"int digit = 1;",
"digit",
"1",
"while (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}",
"a + b >= digit",
"a + b",
"a",
"b",
"digit",
"{\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}",
"i++",
"i",
"digit *= 10",
"digit",
"10",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\n\t\t\t\ti++;\n\t\t\t\tdigit *= 10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
int i = 0;
int digit = 1;
while (a + b >= digit) {
i++;
digit *= 10;
}
System.out.println(i);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
22,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
22,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}",
"main",
"{\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}",
"int num1;",
"num1",
"int num2;",
"num2",
"int goukei;",
"goukei",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}",
"num1 = scan.nextInt()",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num2 = scan.nextInt()",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"goukei = num1 + num2",
"goukei",
"num1 + num2",
"num1",
"num2",
"String keta = String.valueOf(goukei);",
"keta",
"String.valueOf(goukei)",
"String.valueOf",
"String",
"goukei",
"System.out.println(keta.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"keta.length()",
"keta.length",
"keta",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgoukei = num1 + num2;\n\n\t\t\tString keta = String.valueOf(goukei);\n\n\t\t\tSystem.out.println(keta.length());\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//??????????????°
int num1;
int num2;
int goukei;
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
num1 = scan.nextInt();
num2 = scan.nextInt();
goukei = num1 + num2;
String keta = String.valueOf(goukei);
System.out.println(keta.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
11,
1,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
3,
0,
13,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
41,
52
],
[
52,
53
],
[
52,
54
],
[
16,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }",
"main",
"{\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n }",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c=a+b;",
"c",
"a+b",
"a",
"b",
"int i = 1;",
"i",
"1",
"for(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}",
";",
"i++",
"i++",
"i",
"{\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}",
"{\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}",
"int d=c/10;",
"d",
"c/10",
"c",
"10",
"if(d==0)break;",
"d==0",
"d",
"0",
"break;",
"c=d",
"c",
"d",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n \tint c=a+b;\n \tint i = 1;\n \tfor(;;i++){\n \t\tint d=c/10;\n \t\tif(d==0)break;\n \t\tc=d;\n \n \t}\n \tSystem.out.println(i); //?????????????????????\n \n \n } //???????????????????????£????????¨\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){ //??\??????????????????????????? ???????????£???????????????
int a=sc.nextInt();
int b=sc.nextInt();
int c=a+b;
int i = 1;
for(;;i++){
int d=c/10;
if(d==0)break;
c=d;
}
System.out.println(i); //?????????????????????
} //???????????????????????£????????¨
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
16,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
16,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
16,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
16,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
16,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
16,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
6,
133
],
[
133,
134
]
] | [
"import java.util.Scanner;\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}\n\t\t\tif(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}\n\t\t\tif(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}\n\t\t\tif(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}\n\t\t\tif(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}\n\t\t\tif(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}\n\t\t\tif(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int sum = a+b;",
"sum",
"a+b",
"a",
"b",
"if(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}",
"sum<10",
"sum",
"10",
"{\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if(sum<100 && sum>9){\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}",
"sum<100 && sum>9",
"sum<100",
"sum",
"100",
"sum>9",
"sum",
"9",
"{\n\t\t\t\tSystem.out.println(\"2\");\n\t\t\t}",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if(sum<1000 && sum>99){\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}",
"sum<1000 && sum>99",
"sum<1000",
"sum",
"1000",
"sum>99",
"sum",
"99",
"{\n\t\t\t\tSystem.out.println(\"3\");\n\t\t\t}",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if(sum<10000 && sum>999){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}",
"sum<10000 && sum>999",
"sum<10000",
"sum",
"10000",
"sum>999",
"sum",
"999",
"{\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t}",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if(sum<100000 && sum>9999){\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}",
"sum<100000 && sum>9999",
"sum<100000",
"sum",
"100000",
"sum>9999",
"sum",
"9999",
"{\n\t\t\t\tSystem.out.println(\"5\");\n\t\t\t}",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"if(sum<1000000 && sum>99999){\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}",
"sum<1000000 && sum>99999",
"sum<1000000",
"sum",
"1000000",
"sum>99999",
"sum",
"99999",
"{\n\t\t\t\tSystem.out.println(\"6\");\n\t\t\t}",
"System.out.println(\"6\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"6\"",
"if(sum<10000000 && sum>999999){\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}",
"sum<10000000 && sum>999999",
"sum<10000000",
"sum",
"10000000",
"sum>999999",
"sum",
"999999",
"{\n\t\t\t\tSystem.out.println(\"7\");\n\t\t\t}",
"System.out.println(\"7\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"7\"",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
int a = scanner.nextInt();
int b = scanner.nextInt();
int sum = a+b;
if(sum<10){
System.out.println("1");
}
if(sum<100 && sum>9){
System.out.println("2");
}
if(sum<1000 && sum>99){
System.out.println("3");
}
if(sum<10000 && sum>999){
System.out.println("4");
}
if(sum<100000 && sum>9999){
System.out.println("5");
}
if(sum<1000000 && sum>99999){
System.out.println("6");
}
if(sum<10000000 && sum>999999){
System.out.println("7");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
75,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
33,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
33,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
33,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }",
"catch (Exception ex){\n System.exit(0);\n }",
"Exception ex",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }",
"String st = br.readLine();",
"st",
"br.readLine()",
"br.readLine",
"br",
"while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }",
"st!=null",
"st",
"null",
"{\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }",
"String[] s = st.split(\" \",0);",
"s",
"st.split(\" \",0)",
"st.split",
"st",
"\" \"",
"0",
"int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();",
"valuelength",
"String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length()",
"String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length",
"String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1]))",
"String.valueOf",
"String",
"Integer.parseInt(s[0])+Integer.parseInt(s[1])",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"System.out.println(valuelength)",
"System.out.println",
"System.out",
"System",
"System.out",
"valuelength",
"st = br.readLine()",
"st",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[] s = st.split(\" \",0);\n int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();\n System.out.println(valuelength);\n st = br.readLine();\n }\n }catch (Exception ex){\n System.exit(0);\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
String st = br.readLine();
while(st!=null){
String[] s = st.split(" ",0);
int valuelength = String.valueOf(Integer.parseInt(s[0])+Integer.parseInt(s[1])).length();
System.out.println(valuelength);
st = br.readLine();
}
}catch (Exception ex){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
19,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"while(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}",
"stdin.hasNext()",
"stdin.hasNext",
"stdin",
"{\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}",
"int x = stdin.nextInt();",
"x",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int y = stdin.nextInt();",
"y",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int z = x + y;",
"z",
"x + y",
"x",
"y",
"BigDecimal.valueOf(z).precision()",
"BigDecimal.valueOf(z).precision",
"BigDecimal.valueOf(z)",
"BigDecimal.valueOf",
"BigDecimal",
"z",
"System.out.println(BigDecimal.valueOf(z).precision())",
"System.out.println",
"System.out",
"System",
"System.out",
"BigDecimal.valueOf(z).precision()",
"BigDecimal.valueOf(z).precision",
"BigDecimal.valueOf(z)",
"BigDecimal.valueOf",
"BigDecimal",
"z",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf(z).precision();\n\t\t\tSystem.out.println(BigDecimal.valueOf(z).precision());\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
while(stdin.hasNext()) {
int x = stdin.nextInt();
int y = stdin.nextInt();
int z = x + y;
BigDecimal.valueOf(z).precision();
System.out.println(BigDecimal.valueOf(z).precision());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
3,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
30,
0,
18,
13,
13,
13,
40,
13,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
35,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
34,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
34,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
57,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
77,
83
],
[
83,
84
],
[
77,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\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\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"x",
"x",
"count =0;",
"count",
"0",
"int []result = new int[200];",
"result",
"new int[200]",
"200",
"for(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"if(sc.hasNext() == false) break;",
"sc.hasNext() == false",
"sc.hasNext()",
"sc.hasNext",
"sc",
"false",
"break;",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x = a + b",
"x",
"a + b",
"a",
"b",
"for(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"x >= 10",
"x",
"10",
"{\n\t\t\t\t\tx = x/10;\n\t\t\t\t}",
"x = x/10",
"x",
"x/10",
"x",
"10",
"{\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"result[i] = j",
"result[i]",
"result",
"i",
"j",
"count++",
"count",
"break;",
"for(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(result[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(result[i]);\n\t\t}",
"System.out.println(result[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"result[i]",
"result",
"i",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tx = a + b;\n\t\t\tfor(int j = 1;;j++){\n\t\t\t\tif(x >= 10){\n\t\t\t\t\tx = x/10;\n\t\t\t\t} else {\n\t\t\t\t\tresult[i] = j;\n\t\t\t\t\tcount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count; i++){\n\t\t\tSystem.out.println(result[i]);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int a,b,x,count =0;
int []result = new int[200];
for(int i = 0;;i++){
if(sc.hasNext() == false) break;
a = sc.nextInt();
b = sc.nextInt();
x = a + b;
for(int j = 1;;j++){
if(x >= 10){
x = x/10;
} else {
result[i] = j;
count++;
break;
}
}
}
for(int i = 0; i < count; i++){
System.out.println(result[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
4,
18,
13,
2,
13,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
22,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"c;",
"c",
"while(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}",
"a=sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b=sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c=String.valueOf(a+b).length()",
"c",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c;
while(sc.hasNextInt()){
a=sc.nextInt();
b=sc.nextInt();
c=String.valueOf(a+b).length();
System.out.println(c);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\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\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x=a+b;",
"x",
"a+b",
"a",
"b",
"String s=String.valueOf(x);",
"s",
"String.valueOf(x)",
"String.valueOf",
"String",
"x",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int a=sc.nextInt();
int b=sc.nextInt();
int x=a+b;
String s=String.valueOf(x);
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
20,
17,
41,
13,
20,
42,
2,
13,
17,
30,
14,
2,
0,
13,
4,
18,
13,
17,
3,
0,
13,
17,
0,
13,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
42,
2,
0,
13,
2,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
2,
13,
17,
40,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
34,
42
],
[
33,
43
],
[
43,
44
],
[
43,
45
],
[
33,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
33,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
33,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
33,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
33,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
74,
82
],
[
82,
83
],
[
33,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
33,
92
],
[
92,
93
],
[
6,
94
],
[
94,
95
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tint a,b,sum,digits;\n\t\tint i=1;\n\t\tString str;\n\t\tString num[]=new String[2];\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(i<=200){\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tint a,b,sum,digits;\n\t\tint i=1;\n\t\tString str;\n\t\tString num[]=new String[2];\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(i<=200){\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tint a,b,sum,digits;\n\t\tint i=1;\n\t\tString str;\n\t\tString num[]=new String[2];\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(i<=200){\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\tint a,b,sum,digits;\n\t\tint i=1;\n\t\tString str;\n\t\tString num[]=new String[2];\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(i<=200){\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}\n\t}",
"int a",
"a",
"b",
"b",
"sum",
"sum",
"digits;",
"digits",
"int i=1;",
"i",
"1",
"String str;",
"str",
"String num[]=new String[2];",
"num",
"new String[2]",
"2",
"BufferedReader in =new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while(i<=200){\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}",
"i<=200",
"i",
"200",
"{\n\t\t\tif((str=in.readLine())==null)\n\t\t\t\tbreak;\n\t\t\tdigits=1;\n\t\t\tnum=str.split(\" \",0);\n\t\t\ta=Integer.parseInt(num[0]);\n\t\t\tb=Integer.parseInt(num[1]);\n\t\t\tsum=a+b;\n\t\t\twhile((sum=sum/10)!=0)\n\t\t\t\tdigits++;\n\t\t\tSystem.out.printf(digits+\"\\n\");\n\t\t\ti++;\n\t\t}",
"if((str=in.readLine())==null)\n\t\t\t\tbreak;",
"(str=in.readLine())==null",
"(str=in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"break;",
"digits=1",
"digits",
"1",
"num=str.split(\" \",0)",
"num",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"a=Integer.parseInt(num[0])",
"a",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"b=Integer.parseInt(num[1])",
"b",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"sum=a+b",
"sum",
"a+b",
"a",
"b",
"while((sum=sum/10)!=0)\n\t\t\t\tdigits++;",
"(sum=sum/10)!=0",
"(sum=sum/10)",
"sum",
"sum/10",
"sum",
"10",
"0",
"digits++",
"digits",
"System.out.printf(digits+\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"digits+\"\\n\"",
"digits",
"\"\\n\"",
"i++",
"i",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
int a,b,sum,digits;
int i=1;
String str;
String num[]=new String[2];
BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
while(i<=200){
if((str=in.readLine())==null)
break;
digits=1;
num=str.split(" ",0);
a=Integer.parseInt(num[0]);
b=Integer.parseInt(num[1]);
sum=a+b;
while((sum=sum/10)!=0)
digits++;
System.out.printf(digits+"\n");
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
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
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
16,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
16,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
16,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"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\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\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\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\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\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\n\t\t}",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String []n = s.split(\" \");",
"n",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a = Integer.parseInt(n[0]);",
"a",
"Integer.parseInt(n[0])",
"Integer.parseInt",
"Integer",
"n[0]",
"n",
"0",
"int b = Integer.parseInt(n[1]);",
"b",
"Integer.parseInt(n[1])",
"Integer.parseInt",
"Integer",
"n[1]",
"n",
"1",
"String t = Integer.toString(a + b);",
"t",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"System.out.println(t.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"t.length()",
"t.length",
"t",
"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\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\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\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\tString t = Integer.toString(a + b);\n\t\t\tSystem.out.println(t.length());\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);
while(sc.hasNext()) {
String s = sc.nextLine();
String []n = s.split(" ");
int a = Integer.parseInt(n[0]);
int b = Integer.parseInt(n[1]);
String t = Integer.toString(a + b);
System.out.println(t.length());
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
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
],
[
58,
11
],
[
58,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
12,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"try {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n\t\t}",
"{\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t}",
"int x",
"x",
"y;",
"y",
"while(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}",
"x=scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y=scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(Integer.toString(x+y).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(x+y).length()",
"Integer.toString(x+y).length",
"Integer.toString(x+y)",
"Integer.toString",
"Integer",
"x+y",
"x",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=scan.nextInt();\n\t\t\t\ty=scan.nextInt();\n\t\t\t\tSystem.out.println(Integer.toString(x+y).length());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
try {
int x,y;
while(scan.hasNext()){
x=scan.nextInt();
y=scan.nextInt();
System.out.println(Integer.toString(x+y).length());
}
} catch (Exception e) {
// TODO: handle exception
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
14,
2,
2,
2,
13,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
19,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
33,
41
],
[
41,
42
],
[
19,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
43,
51
],
[
51,
52
],
[
19,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
53,
61
],
[
61,
62
],
[
19,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
63,
71
],
[
71,
72
],
[
19,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
73,
81
],
[
81,
82
],
[
19,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
84,
90
],
[
83,
91
],
[
91,
92
],
[
19,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
9,
99
],
[
99,
100
]
] | [
"import java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/1000>0)keta++;\n\t if((a+b)/10000>0)keta++;\n\t if((a+b)/100000>0)keta++;\n\t if((a+b)/1000000>0)keta++;\n\t System.out.println(keta);\n\t }",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int keta=1;",
"keta",
"1",
"if((a+b)/10>0)keta++;",
"(a+b)/10>0",
"(a+b)/10",
"(a+b)",
"a",
"b",
"10",
"0",
"keta++",
"keta",
"if((a+b)/100>0)keta++;",
"(a+b)/100>0",
"(a+b)/100",
"(a+b)",
"a",
"b",
"100",
"0",
"keta++",
"keta",
"if((a+b)/1000>0)keta++;",
"(a+b)/1000>0",
"(a+b)/1000",
"(a+b)",
"a",
"b",
"1000",
"0",
"keta++",
"keta",
"if((a+b)/10000>0)keta++;",
"(a+b)/10000>0",
"(a+b)/10000",
"(a+b)",
"a",
"b",
"10000",
"0",
"keta++",
"keta",
"if((a+b)/100000>0)keta++;",
"(a+b)/100000>0",
"(a+b)/100000",
"(a+b)",
"a",
"b",
"100000",
"0",
"keta++",
"keta",
"if((a+b)/1000000>0)keta++;",
"(a+b)/1000000>0",
"(a+b)/1000000",
"(a+b)",
"a",
"b",
"1000000",
"0",
"keta++",
"keta",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"String[] args",
"args"
] | import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int a=sc.nextInt();
int b=sc.nextInt();
int keta=1;
if((a+b)/10>0)keta++;
if((a+b)/100>0)keta++;
if((a+b)/1000>0)keta++;
if((a+b)/10000>0)keta++;
if((a+b)/100000>0)keta++;
if((a+b)/1000000>0)keta++;
System.out.println(keta);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
49,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n \npublic class Main{\n Scanner sc = new Scanner(System.in);\n \n void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n Scanner sc = new Scanner(System.in);\n \n void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }",
"run",
"{\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }",
"while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(String.valueOf(a+b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main{\n Scanner sc = new Scanner(System.in);\n \n void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n}",
"public class Main{\n Scanner sc = new Scanner(System.in);\n \n void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
Scanner sc = new Scanner(System.in);
void run(){
while(sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(String.valueOf(a+b).length());
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
42,
2,
2,
13,
17,
17,
30,
0,
13,
17,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
19,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
16,
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\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\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\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}",
"int a",
"a",
"b = 0;",
"b",
"0",
"int di = 1;",
"di",
"1",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a = a+b",
"a",
"a+b",
"a",
"b",
"while(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}",
"a/10 != 0",
"a/10",
"a",
"10",
"0",
"{\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}",
"a /= 10",
"a",
"10",
"di++",
"di",
"System.out.println(di)",
"System.out.println",
"System.out",
"System",
"System.out",
"di",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\t\t\t\tdi++;\n\t\t\t}\n\t\t\tSystem.out.println(di);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
int a, b = 0;
int di = 1;
a = sc.nextInt();
b = sc.nextInt();
a = a+b;
while(a/10 != 0){
a /= 10;
di++;
}
System.out.println(di);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
17,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
28,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
12,
61
],
[
61,
62
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str=br.readLine())!=null)\n\t\t{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] buf=str.split(\" \");\n\t\t\tint ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));\n\t\t\tSystem.out.println(ans);\n\t\t}",
"String[] buf=str.split(\" \");",
"buf",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));",
"ans",
"1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])))",
"1",
"(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])))",
"Math.log10",
"Math",
"(double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1]))",
"Integer.parseInt(buf[0])",
"Integer.parseInt",
"Integer",
"buf[0]",
"buf",
"0",
"Integer.parseInt(buf[1])",
"Integer.parseInt",
"Integer",
"buf[1]",
"buf",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str;
while((str=br.readLine())!=null)
{
String[] buf=str.split(" ");
int ans=1+(int)Math.log10((double)(Integer.parseInt(buf[0])+Integer.parseInt(buf[1])));
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
20,
14,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
41,
13,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
122,
14
],
[
122,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
34,
50
],
[
50,
51
],
[
34,
52
],
[
52,
53
],
[
34,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
64,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
64,
81
],
[
81,
82
],
[
84,
83
],
[
91,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
94,
96
],
[
81,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
64,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
108,
110
],
[
64,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
15,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}",
"main",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 1)",
"String str = \"\";",
"str",
"\"\"",
"StringTokenizer st;",
"st",
"while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }",
"st = new StringTokenizer(str, \" \")",
"st",
"new StringTokenizer(str, \" \")",
"if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");",
"st.countTokens() > 2",
"st.countTokens()",
"st.countTokens",
"st",
"2",
"System.out.println(\"Only 2 numbers per dataset allowed.\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Only 2 numbers per dataset allowed.\"",
"int n1;",
"n1",
"int n2;",
"n2",
"try {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}",
"catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}",
"System.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\"",
"{\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t}",
"n1 = Integer.parseInt(st.nextToken())",
"n1",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"n2 = Integer.parseInt(st.nextToken())",
"n2",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");",
"n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000",
"n1 > 1000000",
"n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000",
"n1<0",
"n1",
"0",
"n2 < 0",
"n2",
"0",
"n1 > 1000000",
"n1",
"1000000",
"n2 > 1000000",
"n2",
"1000000",
"System.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Out of range. 0 ??? a, b ??? 1,000,000\"",
"str = String.valueOf(n1+n2)",
"str",
"String.valueOf(n1+n2)",
"String.valueOf",
"String",
"n1+n2",
"n1",
"n2",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] args",
"args",
"public class Main {\n\n\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}\n\n}",
"public class Main {\n\n\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t String str = \"\";\n\t StringTokenizer st;\n\t while ((str = br.readLine()) != null) {\n\t st = new StringTokenizer(str, \" \");\n\t if(st.countTokens() > 2)\n\t \tSystem.out.println(\"Only 2 numbers per dataset allowed.\");\n\t int n1;\n\t\t\t\tint n2;\n\t\t\t\ttry {\n\t\t\t\t\tn1 = Integer.parseInt(st.nextToken());\n\t\t\t\t\tn2 = Integer.parseInt(st.nextToken());\n\t\t if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)\n\t\t \tSystem.out.println(\"Out of range. 0 ??? a, b ??? 1,000,000\");\n\t\t \n\t\t str = String.valueOf(n1+n2);\n\t\t System.out.println(str.length());\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.out.println(\"Only number as follows allowed: 0 ??? a, b ??? 1,000,000\");\n\t\t\t\t}\n\t }\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
String str = "";
StringTokenizer st;
while ((str = br.readLine()) != null) {
st = new StringTokenizer(str, " ");
if(st.countTokens() > 2)
System.out.println("Only 2 numbers per dataset allowed.");
int n1;
int n2;
try {
n1 = Integer.parseInt(st.nextToken());
n2 = Integer.parseInt(st.nextToken());
if(n1<0 || n2 < 0 || n1 > 1000000 || n2 > 1000000)
System.out.println("Out of range. 0 ??? a, b ??? 1,000,000");
str = String.valueOf(n1+n2);
System.out.println(str.length());
} catch (NumberFormatException e) {
System.out.println("Only number as follows allowed: 0 ??? a, b ??? 1,000,000");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
42,
4,
13,
30,
4,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
29,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
29,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
59,
9
],
[
9,
10
],
[
59,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
59,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
30,
31
],
[
24,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
24,
42
],
[
42,
43
],
[
59,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int sum;\n\n\tpublic static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}\n\n\tpublic static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}\n\n\n\tpublic static void solve(){\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int sum;\n\n\tpublic static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}\n\n\tpublic static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}\n\n\n\tpublic static void solve(){\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int sum;",
"sum",
"public static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}",
"main",
"{\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}",
"while(read()){\n\t\t\tsolve();\n\t\t}",
"read()",
"read",
"{\n\t\t\tsolve();\n\t\t}",
"solve()",
"solve",
"String[] args",
"args",
"public static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}",
"read",
"{\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}",
"if(!sc.hasNextInt()) return false;",
"!sc.hasNextInt()",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"return false;",
"false",
"sum = sc.nextInt()",
"sum",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sum += sc.nextInt()",
"sum",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return true;",
"true",
"public static void solve(){\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}",
"solve",
"{\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}",
"System.out.println(Integer.toString(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int sum;\n\n\tpublic static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}\n\n\tpublic static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}\n\n\n\tpublic static void solve(){\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}\n\n}",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int sum;\n\n\tpublic static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}\n\n\tpublic static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();\n\t\tsum += sc.nextInt();\n\t\treturn true;\n\t}\n\n\n\tpublic static void solve(){\n\t\tSystem.out.println(Integer.toString(sum).length());\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
static int sum;
public static void main(String[] args) {
while(read()){
solve();
}
}
public static Boolean read(){
if(!sc.hasNextInt()) return false;
sum = sc.nextInt();
sum += sc.nextInt();
return true;
}
public static void solve(){
System.out.println(Integer.toString(sum).length());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
28,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
28,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
28,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
28,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
28,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
12,
71
],
[
71,
72
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] strs = line.split(\" \", 2);\n\t\t\tint num1 = Integer.parseInt(strs[0]);\n\t\t\tint num2 = Integer.parseInt(strs[1]);\n\t\t\tint num = num1 + num2;\n\t\t\tString str = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"String[] strs = line.split(\" \", 2);",
"strs",
"line.split(\" \", 2)",
"line.split",
"line",
"\" \"",
"2",
"int num1 = Integer.parseInt(strs[0]);",
"num1",
"Integer.parseInt(strs[0])",
"Integer.parseInt",
"Integer",
"strs[0]",
"strs",
"0",
"int num2 = Integer.parseInt(strs[1]);",
"num2",
"Integer.parseInt(strs[1])",
"Integer.parseInt",
"Integer",
"strs[1]",
"strs",
"1",
"int num = num1 + num2;",
"num",
"num1 + num2",
"num1",
"num2",
"String str = String.valueOf(num);",
"str",
"String.valueOf(num)",
"String.valueOf",
"String",
"num",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] args",
"args"
] | import java.util.*;
import java.lang.*;
import java.io.*;
class Main{
public static void main (String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while((line = br.readLine()) != null){
String[] strs = line.split(" ", 2);
int num1 = Integer.parseInt(strs[0]);
int num2 = Integer.parseInt(strs[1]);
int num = num1 + num2;
String str = String.valueOf(num);
System.out.println(str.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
17,
0,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
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
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
31,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String str;",
"str",
"while ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}",
"(str = br.readLine()) !=null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}",
"String num_str[] = new String[2];",
"num_str",
"new String[2]",
"2",
"num_str = str.split(\" \")",
"num_str",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);",
"sum",
"Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1])",
"Integer.parseInt(num_str[0])",
"Integer.parseInt",
"Integer",
"num_str[0]",
"num_str",
"0",
"Integer.parseInt(num_str[1])",
"Integer.parseInt",
"Integer",
"num_str[1]",
"num_str",
"1",
"System.out.println(Integer.toString(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile ((str = br.readLine()) !=null) {\n\n\t\t\tString num_str[] = new String[2];\n\t\t\tnum_str = str.split(\" \");\n\t\t\tint sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] a) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str;
while ((str = br.readLine()) !=null) {
String num_str[] = new String[2];
num_str = str.split(" ");
int sum = Integer.parseInt(num_str[0]) + Integer.parseInt(num_str[1]);
System.out.println(Integer.toString(sum).length());
}
}
} |
[
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,
20,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
17,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
107,
26
],
[
107,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
29,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
29,
44
],
[
44,
45
],
[
44,
46
],
[
29,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
58,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
65,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
65,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
65,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
65,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
98,
103
],
[
27,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.lang.reflect.Array;\nimport java.util.ArrayList;\nimport java.util.Comparator;\n\nimport static java.util.Arrays.sort;\n\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import static java.util.Arrays.sort;",
"import static java.util.Arrays.sort;",
"import static java.util.Arrays.sort;",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"main",
"{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int i = 0;",
"i",
"0",
"String line;",
"line",
"String[] numList = new String[2];",
"numList",
"new String[2]",
"2",
"try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }",
"catch (Exception e) {\n System.exit(0);\n }",
"Exception e",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n }",
"while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }",
"numList = line.split(\" \")",
"numList",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int num0 = Integer.parseInt(numList[0]);",
"num0",
"Integer.parseInt(numList[0])",
"Integer.parseInt",
"Integer",
"numList[0]",
"numList",
"0",
"int num1 = Integer.parseInt(numList[1]);",
"num1",
"Integer.parseInt(numList[1])",
"Integer.parseInt",
"Integer",
"numList[1]",
"numList",
"1",
"int sum = num0 + num1;",
"sum",
"num0 + num1",
"num0",
"num1",
"System.out.println((int)Math.log10(sum) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(sum) + 1",
"(int)Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n String line;\n String[] numList = new String[2];\n try {\n while ((line = br.readLine()) != null) {\n numList = line.split(\" \");\n int num0 = Integer.parseInt(numList[0]);\n int num1 = Integer.parseInt(numList[1]);\n int sum = num0 + num1;\n System.out.println((int)Math.log10(sum) + 1);\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Comparator;
import static java.util.Arrays.sort;
public class Main {
public static void main(String[] args) throws IOException {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
PrintWriter out = new PrintWriter(System.out);
int i = 0;
String line;
String[] numList = new String[2];
try {
while ((line = br.readLine()) != null) {
numList = line.split(" ");
int num0 = Integer.parseInt(numList[0]);
int num1 = Integer.parseInt(numList[1]);
int sum = num0 + num1;
System.out.println((int)Math.log10(sum) + 1);
}
} catch (Exception e) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
25,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
25,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
9,
67
],
[
67,
68
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while((line = br.readLine()) != null){\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while((line = br.readLine()) != null){\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }\n }\n}",
"Main",
"public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while((line = br.readLine()) != null){\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while((line = br.readLine()) != null){\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while((line = br.readLine()) != null){\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] check = line.split(\" \");\n int val1 = Integer.parseInt(check[0]);\n int val2 = Integer.parseInt(check[1]);\n int sum = val1 + val2;\n String str = String.valueOf(sum);\n System.out.println(str.length());\n }",
"String[] check = line.split(\" \");",
"check",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int val1 = Integer.parseInt(check[0]);",
"val1",
"Integer.parseInt(check[0])",
"Integer.parseInt",
"Integer",
"check[0]",
"check",
"0",
"int val2 = Integer.parseInt(check[1]);",
"val2",
"Integer.parseInt(check[1])",
"Integer.parseInt",
"Integer",
"check[1]",
"check",
"1",
"int sum = val1 + val2;",
"sum",
"val1 + val2",
"val1",
"val2",
"String str = String.valueOf(sum);",
"str",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] a",
"a"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] a) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while((line = br.readLine()) != null){
String[] check = line.split(" ");
int val1 = Integer.parseInt(check[0]);
int val2 = Integer.parseInt(check[1]);
int sum = val1 + val2;
String str = String.valueOf(sum);
System.out.println(str.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
33,
40
],
[
20,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nint a;\nint b;\nScanner sc=new Scanner(System.in);\nwhile(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nint a;\nint b;\nScanner sc=new Scanner(System.in);\nwhile(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nint a;\nint b;\nScanner sc=new Scanner(System.in);\nwhile(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}\n}",
"main",
"{\nint a;\nint b;\nScanner sc=new Scanner(System.in);\nwhile(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}\n}",
"int a;",
"a",
"int b;",
"b",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}",
"a=sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b=sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d=(int)Math.log10(a+b)+1;",
"d",
"(int)Math.log10(a+b)+1",
"(int)Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
int a;
int b;
Scanner sc=new Scanner(System.in);
while(sc.hasNextInt()){
a=sc.nextInt();
b=sc.nextInt();
int d=(int)Math.log10(a+b)+1;
System.out.println(d);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
49,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
19,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String z = String.valueOf(x + y);",
"z",
"String.valueOf(x + y)",
"String.valueOf",
"String",
"x + y",
"x",
"y",
"System.out.println(z.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"z.length()",
"z.length",
"z",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);\n System.out.println(z.length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
int x = sc.nextInt();
int y = sc.nextInt();
String z = String.valueOf(x + y);
System.out.println(z.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
30,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
30,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader( new InputStreamReader(System.in));",
"br",
"new BufferedReader( new InputStreamReader(System.in))",
"try {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}",
"catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}",
"IOException e",
"{\n\t\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}",
"str != null",
"str",
"null",
"{\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}",
"String[] strSplit = str.split(\" \");",
"strSplit",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);",
"sum",
"Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1])",
"Integer.parseInt(strSplit[0])",
"Integer.parseInt",
"Integer",
"strSplit[0]",
"strSplit",
"0",
"Integer.parseInt(strSplit[1])",
"Integer.parseInt",
"Integer",
"strSplit[1]",
"strSplit",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);\n\t\t\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch(IOException e) {\n\t\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) {
BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
try {
String str = br.readLine();
while(str != null) {
String[] strSplit = str.split(" ");
int sum = Integer.parseInt(strSplit[0]) + Integer.parseInt(strSplit[1]);
System.out.println(String.valueOf(sum).length());
str = br.readLine();
}
} catch(IOException e) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"while(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}",
"cin.hasNext()",
"cin.hasNext",
"cin",
"{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}",
"a=cin.nextInt()",
"a",
"cin.nextInt()",
"cin.nextInt",
"cin",
"b=cin.nextInt()",
"b",
"cin.nextInt()",
"cin.nextInt",
"cin",
"String s = ((Integer)(a+b)).toString();",
"s",
"((Integer)(a+b)).toString()",
"((Integer)(a+b)).toString",
"((Integer)(a+b))",
"a",
"b",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
int a,b;
while(cin.hasNext())
{
a=cin.nextInt();
b=cin.nextInt();
String s = ((Integer)(a+b)).toString();
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
4,
13,
2,
13,
17,
1,
0,
13,
4,
13,
30,
30,
41,
13,
2,
18,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
17,
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
],
[
111,
11
],
[
111,
12
],
[
12,
13
],
[
12,
14
],
[
111,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
18,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
18,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
15,
54
],
[
54,
55
],
[
111,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
58,
77
],
[
77,
78
],
[
77,
79
],
[
80,
81
],
[
80,
82
],
[
58,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
101,
107
],
[
58,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in));\n\n\tprivate static int[] readInts() throws IOException {\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in));\n\n\tprivate static int[] readInts() throws IOException {\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in));",
"br",
"new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in))",
"public static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}",
"main",
"{\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}",
"for (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}",
"int[] n = readInts();",
"int[] n = readInts();",
"n",
"readInts()",
"readInts",
"n != null",
"n",
"null",
"n = readInts()",
"n = readInts()",
"n",
"readInts()",
"readInts",
"{\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}",
"{\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}",
"int val = n[0] + n[1];",
"val",
"n[0] + n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"System.out.println(Integer.toString(val).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(val).length()",
"Integer.toString(val).length",
"Integer.toString(val)",
"Integer.toString",
"Integer",
"val",
"String[] args",
"args",
"private static int[] readInts() throws IOException {\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}",
"readInts",
"{\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}",
"String readLine = br.readLine();",
"readLine",
"br.readLine()",
"br.readLine",
"br",
"if (readLine == null) {\n\t\t\treturn null;\n\t\t}",
"readLine == null",
"readLine",
"null",
"{\n\t\t\treturn null;\n\t\t}",
"return null;",
"null",
"String[] s = readLine.split(\" \");",
"s",
"readLine.split(\" \")",
"readLine.split",
"readLine",
"\" \"",
"int[] result = new int[s.length];",
"result",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < result.length",
"i",
"result.length",
"result",
"result.length",
"i++",
"i++",
"i",
"result[i] = Integer.parseInt(s[i], 10);",
"result[i] = Integer.parseInt(s[i], 10)",
"result[i]",
"result",
"i",
"Integer.parseInt(s[i], 10)",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"10",
"return result;",
"result",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in));\n\n\tprivate static int[] readInts() throws IOException {\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(val).length());\n\t\t}\n\t}\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\tSystem.in));\n\n\tprivate static int[] readInts() throws IOException {\n\t\tString readLine = br.readLine();\n\t\tif (readLine == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] s = readLine.split(\" \");\n\t\tint[] result = new int[s.length];\n\t\tfor (int i = 0; i < result.length; i++)\n\t\t\tresult[i] = Integer.parseInt(s[i], 10);\n\n\t\treturn result;\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
for (int[] n = readInts(); n != null; n = readInts()) {
int val = n[0] + n[1];
System.out.println(Integer.toString(val).length());
}
}
static BufferedReader br = new BufferedReader(new InputStreamReader(
System.in));
private static int[] readInts() throws IOException {
String readLine = br.readLine();
if (readLine == null) {
return null;
}
String[] s = readLine.split(" ");
int[] result = new int[s.length];
for (int i = 0; i < result.length; i++)
result[i] = Integer.parseInt(s[i], 10);
return result;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
41,
13,
17,
0,
13,
17,
42,
17,
30,
14,
2,
2,
13,
13,
17,
30,
0,
13,
17,
40,
13,
30,
3,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
57,
69
],
[
69,
70
],
[
16,
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\n\t/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????\n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????\n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}\n\n}",
"Main",
"/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????\n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int divisorNum = 0;",
"divisorNum",
"0",
"for (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}",
"{\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int keta = 1;",
"keta",
"1",
"divisorNum = 0",
"divisorNum",
"0",
"while (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"true",
"{\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"if (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"sum / keta > 0",
"sum / keta",
"sum",
"keta",
"0",
"{\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t}",
"keta *= 10",
"keta",
"10",
"divisorNum++",
"divisorNum",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"System.out.println(divisorNum)",
"System.out.println",
"System.out",
"System",
"System.out",
"divisorNum",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????\n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????\n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextInt()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint divisorNum = 0;\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tint sum = a + b;\n\t\t\t\tint keta = 1;\n\t\t\t\tdivisorNum = 0; // ??¨????????????????????°\n\t\t\t\twhile (true) {\n\t\t\t\t\tif (sum / keta > 0) {\n\t\t\t\t\t\tketa *= 10;\n\t\t\t\t\t\tdivisorNum++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(divisorNum);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
/**
* ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b
* ??????????????????????????§??????????????????????????????????????\????????????????????§????????????????????????a ??¨ b ??????????????´??°??¨????????????
*
* @param args
*/
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
while (sc.hasNextInt()) {
int a = sc.nextInt();
int b = sc.nextInt();
int divisorNum = 0;
for (int i = 0; i <= 2; i++) {
int sum = a + b;
int keta = 1;
divisorNum = 0; // ??¨????????????????????°
while (true) {
if (sum / keta > 0) {
keta *= 10;
divisorNum++;
} else {
break;
}
}
}
System.out.println(divisorNum);
}
}
} |
[
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,
17,
41,
13,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
17,
0,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
13,
40,
13,
28,
13,
13,
30,
30,
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
],
[
95,
14
],
[
95,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
47,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
47,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
47,
79
],
[
79,
80
],
[
17,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
15,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> lstInt = new ArrayList<Integer>();",
"lstInt",
"new ArrayList<Integer>()",
"String line = \"\";",
"line",
"\"\"",
"String[] strArray;",
"strArray",
"int result = 0;",
"result",
"0",
"int cnt = 0;",
"cnt",
"0",
"while (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}",
"cnt < 200 && (line = br.readLine()) != null",
"cnt < 200",
"cnt",
"200",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}",
"strArray = line.split(\" \", 0)",
"strArray",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"result = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1])",
"result",
"Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1])",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"lstInt.add(Integer.toString(result).length())",
"lstInt.add",
"lstInt",
"Integer.toString(result).length()",
"Integer.toString(result).length",
"Integer.toString(result)",
"Integer.toString",
"Integer",
"result",
"++cnt",
"cnt",
"for (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}",
"int digit",
"lstInt",
"{\n\t\t\tSystem.out.println(digit);\n\t\t}",
"{\n\t\t\tSystem.out.println(digit);\n\t\t}",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tArrayList<Integer> lstInt = new ArrayList<Integer>();\n\t\tString line = \"\";\n\t\tString[] strArray;\n\t\tint result = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < 200 && (line = br.readLine()) != null)\n\t\t{\n\t\t\tstrArray = line.split(\" \", 0);\n\t\t\tresult = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);\n\t\t\tlstInt.add(Integer.toString(result).length());\n\t\t\t++cnt;\n\t\t}\n\n\t\tfor (int digit : lstInt)\n\t\t{\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main
{
public static void main(String[] args) throws NumberFormatException, IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> lstInt = new ArrayList<Integer>();
String line = "";
String[] strArray;
int result = 0;
int cnt = 0;
while (cnt < 200 && (line = br.readLine()) != null)
{
strArray = line.split(" ", 0);
result = Integer.parseInt(strArray[0]) + Integer.parseInt(strArray[1]);
lstInt.add(Integer.toString(result).length());
++cnt;
}
for (int digit : lstInt)
{
System.out.println(digit);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
26,
28
],
[
16,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
16,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
]
] | [
"import java.util.Scanner;\n\nclass Main {\n \n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\n\twhile(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}\n }\n}\n\t \n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n \n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\n\twhile(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\n\twhile(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}\n }",
"main",
"{\n\tScanner stdin = new Scanner(System.in);\n\n\twhile(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"while(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}",
"stdin.hasNextInt()",
"stdin.hasNextInt",
"stdin",
"{\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.out.println(count);\n\t}",
"int i = stdin.nextInt() + stdin.nextInt();",
"i",
"stdin.nextInt() + stdin.nextInt()",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int count = 0;",
"count",
"0",
"while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }",
"i != 0",
"i",
"0",
"{\n\t\tcount++;\n\t\ti /= 10;\n\t }",
"count++",
"count",
"i /= 10",
"i",
"10",
"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);
while(stdin.hasNextInt()){
int i = stdin.nextInt() + stdin.nextInt();
int count = 0;
while(i != 0){
count++;
i /= 10;
}
System.out.println(count);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
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
],
[
149,
11
],
[
149,
12
],
[
12,
13
],
[
12,
14
],
[
149,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
32,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
15,
62
],
[
62,
63
],
[
149,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
66,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
77,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
66,
102
],
[
102,
103
],
[
64,
104
],
[
104,
105
],
[
149,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
112,
122
],
[
122,
123
],
[
123,
124
],
[
112,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
108,
132
],
[
132,
133
],
[
106,
134
],
[
134,
135
],
[
149,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
136,
146
],
[
146,
147
],
[
0,
148
],
[
148,
149
],
[
148,
150
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n /** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;\n\n /**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }\n\n /**\n * 空白区切りの数値を取得し、整数の配列として返却する。\n *\n * @param line 空白区切りの数値文字列\n * @return 整数の配列\n */\n protected static int[] convertStringToIntArray(String line){\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }\n\n /**\n * 引数で渡された整数配列の合計値を返す。\n *\n * @param input 整数の配列\n * @return 整数の配列の合計値\n */\n protected static int calculateSum(int[] input) {\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }\n\n /**\n * 指定された数値の桁数を返す。\n *\n * @param target 数値\n * @return 数値の桁数\n */\n protected static int getNumberOfDigit(int target) {\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n /** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;\n\n /**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }\n\n /**\n * 空白区切りの数値を取得し、整数の配列として返却する。\n *\n * @param line 空白区切りの数値文字列\n * @return 整数の配列\n */\n protected static int[] convertStringToIntArray(String line){\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }\n\n /**\n * 引数で渡された整数配列の合計値を返す。\n *\n * @param input 整数の配列\n * @return 整数の配列の合計値\n */\n protected static int calculateSum(int[] input) {\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }\n\n /**\n * 指定された数値の桁数を返す。\n *\n * @param target 数値\n * @return 数値の桁数\n */\n protected static int getNumberOfDigit(int target) {\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }\n\n}",
"Main",
"/** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;",
"NUMBER_OF_INPUT",
"2",
"/**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }",
"main",
"{\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }",
"String line = null;",
"line",
"null",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }",
"(line = reader.readLine()) != null",
"(line = reader.readLine())",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }",
"int[] input = convertStringToIntArray(line);",
"input",
"convertStringToIntArray(line)",
"convertStringToIntArray",
"line",
"int sum = calculateSum(input);",
"sum",
"calculateSum(input)",
"calculateSum",
"input",
"int numberOfDigit = getNumberOfDigit(sum);",
"numberOfDigit",
"getNumberOfDigit(sum)",
"getNumberOfDigit",
"sum",
"System.out.println(numberOfDigit)",
"System.out.println",
"System.out",
"System",
"System.out",
"numberOfDigit",
"if (reader != null) {\n reader.close();\n }",
"reader != null",
"reader",
"null",
"{\n reader.close();\n }",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"/**\n * 空白区切りの数値を取得し、整数の配列として返却する。\n *\n * @param line 空白区切りの数値文字列\n * @return 整数の配列\n */\n protected static int[] convertStringToIntArray(String line){\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }",
"convertStringToIntArray",
"{\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }",
"int [] result = new int[NUMBER_OF_INPUT];",
"result",
"new int[NUMBER_OF_INPUT]",
"NUMBER_OF_INPUT",
"String[] splittedLine = line.split(\" \");",
"splittedLine",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < splittedLine.length",
"i",
"splittedLine.length",
"splittedLine",
"splittedLine.length",
"i++",
"i++",
"i",
"{\n result[i] = Integer.parseInt(splittedLine[i]);\n }",
"{\n result[i] = Integer.parseInt(splittedLine[i]);\n }",
"result[i] = Integer.parseInt(splittedLine[i])",
"result[i]",
"result",
"i",
"Integer.parseInt(splittedLine[i])",
"Integer.parseInt",
"Integer",
"splittedLine[i]",
"splittedLine",
"i",
"return result;",
"result",
"String line",
"line",
"/**\n * 引数で渡された整数配列の合計値を返す。\n *\n * @param input 整数の配列\n * @return 整数の配列の合計値\n */\n protected static int calculateSum(int[] input) {\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }",
"calculateSum",
"{\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }",
"int sum = 0;",
"sum",
"0",
"for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n sum += input[i];\n }",
"{\n sum += input[i];\n }",
"sum += input[i]",
"sum",
"input[i]",
"input",
"i",
"return sum;",
"sum",
"int[] input",
"input",
"/**\n * 指定された数値の桁数を返す。\n *\n * @param target 数値\n * @return 数値の桁数\n */\n protected static int getNumberOfDigit(int target) {\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }",
"getNumberOfDigit",
"{\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }",
"return String.valueOf(target).length();",
"String.valueOf(target).length()",
"String.valueOf(target).length",
"String.valueOf(target)",
"String.valueOf",
"String",
"target",
"int target",
"target",
"public class Main {\n\n /** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;\n\n /**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }\n\n /**\n * 空白区切りの数値を取得し、整数の配列として返却する。\n *\n * @param line 空白区切りの数値文字列\n * @return 整数の配列\n */\n protected static int[] convertStringToIntArray(String line){\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }\n\n /**\n * 引数で渡された整数配列の合計値を返す。\n *\n * @param input 整数の配列\n * @return 整数の配列の合計値\n */\n protected static int calculateSum(int[] input) {\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }\n\n /**\n * 指定された数値の桁数を返す。\n *\n * @param target 数値\n * @return 数値の桁数\n */\n protected static int getNumberOfDigit(int target) {\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }\n\n}",
"public class Main {\n\n /** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;\n\n /**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n\n // 入力がある限り処理を行う\n String line = null;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n while((line = reader.readLine()) != null) {\n\n // 入力文字列を数値配列に変換する\n int[] input = convertStringToIntArray(line);\n\n // 合計値の桁数を取得する\n int sum = calculateSum(input);\n int numberOfDigit = getNumberOfDigit(sum);\n\n // 結果を出力する\n System.out.println(numberOfDigit);\n }\n\n if (reader != null) {\n reader.close();\n }\n }\n\n /**\n * 空白区切りの数値を取得し、整数の配列として返却する。\n *\n * @param line 空白区切りの数値文字列\n * @return 整数の配列\n */\n protected static int[] convertStringToIntArray(String line){\n int [] result = new int[NUMBER_OF_INPUT];\n\n String[] splittedLine = line.split(\" \");\n for( int i = 0; i < splittedLine.length; i++){\n result[i] = Integer.parseInt(splittedLine[i]);\n }\n\n return result;\n }\n\n /**\n * 引数で渡された整数配列の合計値を返す。\n *\n * @param input 整数の配列\n * @return 整数の配列の合計値\n */\n protected static int calculateSum(int[] input) {\n int sum = 0;\n for (int i = 0; i < input.length; i++) {\n sum += input[i];\n }\n return sum;\n }\n\n /**\n * 指定された数値の桁数を返す。\n *\n * @param target 数値\n * @return 数値の桁数\n */\n protected static int getNumberOfDigit(int target) {\n // 文字列に変換して、文字数を返す\n return String.valueOf(target).length();\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/** 入力される数値の数 */
private static final int NUMBER_OF_INPUT = 2;
/**
* 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。
*
* @param args
*/
public static void main(String[] args) throws IOException {
// 入力がある限り処理を行う
String line = null;
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
while((line = reader.readLine()) != null) {
// 入力文字列を数値配列に変換する
int[] input = convertStringToIntArray(line);
// 合計値の桁数を取得する
int sum = calculateSum(input);
int numberOfDigit = getNumberOfDigit(sum);
// 結果を出力する
System.out.println(numberOfDigit);
}
if (reader != null) {
reader.close();
}
}
/**
* 空白区切りの数値を取得し、整数の配列として返却する。
*
* @param line 空白区切りの数値文字列
* @return 整数の配列
*/
protected static int[] convertStringToIntArray(String line){
int [] result = new int[NUMBER_OF_INPUT];
String[] splittedLine = line.split(" ");
for( int i = 0; i < splittedLine.length; i++){
result[i] = Integer.parseInt(splittedLine[i]);
}
return result;
}
/**
* 引数で渡された整数配列の合計値を返す。
*
* @param input 整数の配列
* @return 整数の配列の合計値
*/
protected static int calculateSum(int[] input) {
int sum = 0;
for (int i = 0; i < input.length; i++) {
sum += input[i];
}
return sum;
}
/**
* 指定された数値の桁数を返す。
*
* @param target 数値
* @return 数値の桁数
*/
protected static int getNumberOfDigit(int target) {
// 文字列に変換して、文字数を返す
return String.valueOf(target).length();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
29,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
22,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
6,
57
],
[
57,
58
],
[
80,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
59,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }\n static int determineDigits (int a) {\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }\n static int determineDigits (int a) {\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }\n}",
"Main",
"public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"String[] input;",
"input",
"while (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}",
"input = scan.nextLine().split(\" \")",
"input",
"scan.nextLine().split(\" \")",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"a = Integer.parseInt(input[0])",
"a",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"b = Integer.parseInt(input[1])",
"b",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"System.out.println(determineDigits(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"determineDigits(a+b)",
"determineDigits",
"a+b",
"a",
"b",
"String[] args",
"args",
"static int determineDigits (int a) {\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }",
"determineDigits",
"{\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }",
"int digits = 0;",
"digits",
"0",
"while (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}",
"a > 0",
"a",
"0",
"{\n\t digits ++;\n\t a /= 10;\n\t}",
"digits ++",
"digits",
"a /= 10",
"a",
"10",
"return digits;",
"digits",
"int a",
"a",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }\n static int determineDigits (int a) {\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }\n}",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1]);\n\t System.out.println(determineDigits(a+b));\n\t}\n }\n static int determineDigits (int a) {\n\tint digits = 0;\n\twhile (a > 0) {\n\t digits ++;\n\t a /= 10;\n\t}\n\treturn digits;\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main (String[] args) {
Scanner scan = new Scanner(System.in);
int a, b;
String[] input;
while (scan.hasNext()) {
input = scan.nextLine().split(" ");
a = Integer.parseInt(input[0]);
b = Integer.parseInt(input[1]);
System.out.println(determineDigits(a+b));
}
}
static int determineDigits (int a) {
int digits = 0;
while (a > 0) {
digits ++;
a /= 10;
}
return digits;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
40,
5
],
[
40,
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
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
6,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\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 while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }\n}",
"Main",
"public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }",
"main",
"{ \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }",
"int sum = sc.nextInt() + sc.nextInt();",
"sum",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((int)Math.log10(sum)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(sum)+1",
"(int)Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int sum = sc.nextInt() + sc.nextInt();
System.out.println((int)Math.log10(sum)+1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
6,
34
],
[
34,
35
]
] | [
"/* Volume0 0002 Digit Number */\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}\n\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}",
"stdIn.hasNext()",
"stdIn.hasNext",
"stdIn",
"{\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}",
"System.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 )",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1",
"(int)Math.log10(stdIn.nextInt()+stdIn.nextInt())",
"Math.log10",
"Math",
"stdIn.nextInt()+stdIn.nextInt()",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"1",
"String[] args",
"args"
] | /* Volume0 0002 Digit Number */
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
while( stdIn.hasNext()){
System.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
42,
4,
18,
13,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
29,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
24,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
17,
53
],
[
10,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
]
] | [
"\nimport java.util.*;\nimport java.lang.*;\nimport java.math.*;\n\nclass Main {\n\n\tScanner sc = new Scanner(System.in);\n\n\tvoid run() {\n\t\t\n\t\tint x;\n\t\t\n\t\twhile ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}\n\t\treturn;\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main {\n\n\tScanner sc = new Scanner(System.in);\n\n\tvoid run() {\n\t\t\n\t\tint x;\n\t\t\n\t\twhile ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}\n\t\treturn;\n\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void run() {\n\t\t\n\t\tint x;\n\t\t\n\t\twhile ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}\n\t\treturn;\n\n\t}",
"run",
"{\n\t\t\n\t\tint x;\n\t\t\n\t\twhile ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}\n\t\treturn;\n\n\t}",
"int x;",
"x",
"while ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t\t\n\t\t}",
"x = sc.nextInt() + sc.nextInt()",
"x",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int count = 0;",
"count",
"0",
"do{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t} while ( x != 0);",
"x != 0",
"x",
"0",
"{\n\t\t\t\tx /= 10;\n\t\t\t\tcount++;\n\t\t\t}",
"x /= 10",
"x",
"10",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"return;",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args"
] |
import java.util.*;
import java.lang.*;
import java.math.*;
class Main {
Scanner sc = new Scanner(System.in);
void run() {
int x;
while ( sc.hasNextInt() ) {
x = sc.nextInt() + sc.nextInt();
int count = 0;
do{
x /= 10;
count++;
} while ( x != 0);
System.out.println(count);
}
return;
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line=null;",
"line",
"null",
"while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }",
"(line=br.readLine())!=null",
"(line=br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }",
"String[] array=line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);",
"sum",
"Integer.parseInt(array[0])+Integer.parseInt(array[1])",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }\n}",
"public class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);\n \tSystem.out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line=null;
while((line=br.readLine())!=null){
String[] array=line.split(" ");
int sum=Integer.parseInt(array[0])+Integer.parseInt(array[1]);
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.util.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\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\twhile(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"int temp=sc.nextInt();",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"temp+=sc.nextInt()",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int count=0;",
"count",
"0",
"while(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}",
"temp>0",
"temp",
"0",
"{\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++;\n\t\t\t}",
"temp/=10",
"temp",
"10",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(sc.hasNextInt()){
int temp=sc.nextInt();
temp+=sc.nextInt();
int count=0;
//System.err.println(temp);
while(temp>0){
temp/=10;
count++;
}
System.out.println(count);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
4,
18,
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
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
27,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
18,
60
],
[
60,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.*;\npublic class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }",
"catch(Exception e){\n }",
"Exception e",
"{\n }",
"{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }",
"while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }",
"(s=br.readLine())!=null",
"(s=br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }",
"String[] str=s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);",
"n",
"Integer.parseInt(str[0])+Integer.parseInt(str[1])",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"System.out.println(Integer.toString(n).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(n).length()",
"Integer.toString(n).length",
"Integer.toString(n)",
"Integer.toString",
"Integer",
"n",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }\n}",
"public class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s;\n try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n System.out.println(Integer.toString(n).length());\n }\n br.close();\n }catch(Exception e){\n }\n }\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;
try{
while((s=br.readLine())!=null){
String[] str=s.split(" ");
int n=Integer.parseInt(str[0])+Integer.parseInt(str[1]);
System.out.println(Integer.toString(n).length());
}
br.close();
}catch(Exception e){
}
}
} |
[
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,
41,
13,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
31,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
31,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
12,
74
],
[
74,
75
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main{\n public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString strArray[];\n\t\tString str;\n\t\twhile (line != null) {\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString strArray[];\n\t\tString str;\n\t\twhile (line != null) {\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}\n }\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString strArray[];\n\t\tString str;\n\t\twhile (line != null) {\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}\n }",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString strArray[];\n\t\tString str;\n\t\twhile (line != null) {\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String strArray[];",
"strArray",
"String str;",
"str",
"while (line != null) {\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}",
"line != null",
"line",
"null",
"{\n\t\t\tstrArray = line.split(\" \");\n\t\t\tstr = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));\n\t\t\tchar[] charArray = str.toCharArray();\n\t\t\tSystem.out.println(charArray.length);\n\t\t\tline = br.readLine();\n\t\t}",
"strArray = line.split(\" \")",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"str = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]))",
"str",
"String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]))",
"String.valueOf",
"String",
"Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1])",
"Integer.valueOf(strArray[0])",
"Integer.valueOf",
"Integer",
"strArray[0]",
"strArray",
"0",
"Integer.valueOf(strArray[1])",
"Integer.valueOf",
"Integer",
"strArray[1]",
"strArray",
"1",
"char[] charArray = str.toCharArray();",
"charArray",
"str.toCharArray()",
"str.toCharArray",
"str",
"System.out.println(charArray.length)",
"System.out.println",
"System.out",
"System",
"System.out",
"charArray.length",
"charArray",
"charArray.length",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String strArray[];
String str;
while (line != null) {
strArray = line.split(" ");
str = String.valueOf(Integer.valueOf(strArray[0]) + Integer.valueOf(strArray[1]));
char[] charArray = str.toCharArray();
System.out.println(charArray.length);
line = br.readLine();
}
}
} |
[
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,
20,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
4,
18,
13,
2,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
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
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
40,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
40,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
23,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
21,
75
],
[
75,
76
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder(\"\");\n int a, b, digit;\n while (sc.hasNextInt()) {\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }\n System.out.print(sb);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder(\"\");\n int a, b, digit;\n while (sc.hasNextInt()) {\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder(\"\");\n int a, b, digit;\n while (sc.hasNextInt()) {\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }\n System.out.print(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder(\"\");\n int a, b, digit;\n while (sc.hasNextInt()) {\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }\n System.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"int a",
"a",
"b",
"b",
"digit;",
"digit",
"while (sc.hasNextInt()) {\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n digit = (int) Math.log10(a+b) + 1;\n sb.append(digit);\n sb.append('\\n');\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"digit = (int) Math.log10(a+b) + 1",
"digit",
"(int) Math.log10(a+b) + 1",
"(int) Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"sb.append(digit)",
"sb.append",
"sb",
"digit",
"sb.append('\\n')",
"sb.append",
"sb",
"'\\n'",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main (String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder("");
int a, b, digit;
while (sc.hasNextInt()) {
a = sc.nextInt();
b = sc.nextInt();
digit = (int) Math.log10(a+b) + 1;
sb.append(digit);
sb.append('\n');
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
42,
2,
0,
13,
4,
13,
17,
30,
41,
13,
4,
13,
4,
18,
13,
17,
4,
13,
4,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
12,
13,
30,
4,
13,
13,
17,
23,
13,
12,
13,
30,
14,
4,
13,
13,
30,
0,
13,
4,
13,
13,
30,
4,
18,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
45,
47
],
[
37,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
54,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
60,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
48,
80
],
[
80,
81
],
[
37,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
37,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
37,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
96,
108
],
[
108,
109
],
[
37,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
110,
122
],
[
122,
123
],
[
37,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
124,
136
],
[
136,
137
],
[
37,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
138,
150
],
[
150,
151
],
[
37,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
161,
162
],
[
152,
163
],
[
163,
164
],
[
37,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
170,
175
],
[
175,
176
],
[
176,
177
],
[
165,
178
],
[
178,
179
],
[
37,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
186,
187
],
[
186,
188
],
[
182,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
189,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
196,
198
],
[
189,
199
],
[
199,
200
],
[
200,
201
],
[
189,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
207,
210
],
[
210,
211
],
[
210,
212
],
[
182,
213
],
[
213,
214
],
[
180,
215
],
[
215,
216
],
[
37,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
221,
224
],
[
224,
225
],
[
225,
226
],
[
217,
227
],
[
227,
228
],
[
37,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
235,
238
],
[
229,
239
],
[
239,
240
],
[
0,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
243,
245
],
[
241,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
249,
252
],
[
246,
253
],
[
253,
254
],
[
241,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
258,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
257,
273
],
[
273,
274
],
[
273,
275
],
[
273,
276
],
[
255,
277
],
[
277,
278
],
[
255,
279
],
[
279,
280
],
[
241,
281
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Stack;\nimport java.util.Scanner;\nimport java.util.Queue;\n\n/**\n * @author yoshikyoto\n */\n\n\n\nclass Main{\n\tstatic final boolean DEBUG = false;\n\tstatic Scanner sc = new Scanner(new InputStreamReader(System.in));\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tpublic static void main(String args[]) throws Exception{\n\t\tString line;\n\t\twhile((line = readLine()) != null){\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}\n\t}\n\n\tpublic static String readLine() throws IOException{return br.readLine();}\n\tpublic static int readInt(){return sc.nextInt();}\n\tpublic static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(int[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(double[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void p(Object o){System.out.println(o.toString());}\n\tpublic static void d(Object o){if(DEBUG)System.out.println(o.toString());}\n\tpublic static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}\n\tpublic static int parseInt(Object o){return Integer.parseInt(o.toString());}\n\tpublic static int digit(int n){return String.valueOf(n).length();}\n}\n\nclass MyHashMap<E> extends HashMap<E, Integer>{\n\tArrayList<E> keyArray = new ArrayList<E>();\n\tpublic void add(E key){add(key, 1);}\n\tpublic void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"class Main{\n\tstatic final boolean DEBUG = false;\n\tstatic Scanner sc = new Scanner(new InputStreamReader(System.in));\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tpublic static void main(String args[]) throws Exception{\n\t\tString line;\n\t\twhile((line = readLine()) != null){\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}\n\t}\n\n\tpublic static String readLine() throws IOException{return br.readLine();}\n\tpublic static int readInt(){return sc.nextInt();}\n\tpublic static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(int[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(double[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void p(Object o){System.out.println(o.toString());}\n\tpublic static void d(Object o){if(DEBUG)System.out.println(o.toString());}\n\tpublic static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}\n\tpublic static int parseInt(Object o){return Integer.parseInt(o.toString());}\n\tpublic static int digit(int n){return String.valueOf(n).length();}\n}",
"Main",
"static final boolean DEBUG = false;",
"DEBUG",
"false",
"static Scanner sc = new Scanner(new InputStreamReader(System.in));",
"sc",
"new Scanner(new InputStreamReader(System.in))",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public static void main(String args[]) throws Exception{\n\t\tString line;\n\t\twhile((line = readLine()) != null){\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}\n\t}",
"main",
"{\n\t\tString line;\n\t\twhile((line = readLine()) != null){\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}\n\t}",
"String line;",
"line",
"while((line = readLine()) != null){\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}",
"(line = readLine()) != null",
"(line = readLine())",
"line",
"readLine()",
"readLine",
"null",
"{\n\t\t\tint[] n = parseInt(line.split(\" \"));\n\t\t\tp(digit(n[0] + n[1]));\n\t\t}",
"int[] n = parseInt(line.split(\" \"));",
"n",
"parseInt(line.split(\" \"))",
"parseInt",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"p(digit(n[0] + n[1]))",
"p",
"digit(n[0] + n[1])",
"digit",
"n[0] + n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"String args[]",
"args",
"public static String readLine() throws IOException{return br.readLine();}",
"readLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public static int readInt(){return sc.nextInt();}",
"readInt",
"{return sc.nextInt();}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"Object[] arr",
"arr",
"public static void pa(int[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"int[] arr",
"arr",
"public static void pa(double[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"double[] arr",
"arr",
"public static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"boolean[] arr",
"arr",
"public static void p(Object o){System.out.println(o.toString());}",
"p",
"{System.out.println(o.toString());}",
"System.out.println(o.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"public static void d(Object o){if(DEBUG)System.out.println(o.toString());}",
"d",
"{if(DEBUG)System.out.println(o.toString());}",
"if(DEBUG)System.out.println(o.toString());",
"DEBUG",
"System.out.println(o.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"public static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}",
"parseInt",
"{\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}",
"int[] res = new int[arr.length];",
"res",
"new int[arr.length]",
"arr.length",
"arr",
"arr.length",
"for(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"res[i] = Integer.parseInt(arr[i]);",
"res[i] = Integer.parseInt(arr[i])",
"res[i]",
"res",
"i",
"Integer.parseInt(arr[i])",
"Integer.parseInt",
"Integer",
"arr[i]",
"arr",
"i",
"return res;",
"res",
"String[] arr",
"arr",
"public static int parseInt(Object o){return Integer.parseInt(o.toString());}",
"parseInt",
"{return Integer.parseInt(o.toString());}",
"return Integer.parseInt(o.toString());",
"Integer.parseInt(o.toString())",
"Integer.parseInt",
"Integer",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"public static int digit(int n){return String.valueOf(n).length();}",
"digit",
"{return String.valueOf(n).length();}",
"return String.valueOf(n).length();",
"String.valueOf(n).length()",
"String.valueOf(n).length",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"int n",
"n",
"class MyHashMap<E> extends HashMap<E, Integer>{\n\tArrayList<E> keyArray = new ArrayList<E>();\n\tpublic void add(E key){add(key, 1);}\n\tpublic void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}\n}",
"MyHashMap",
"ArrayList<E> keyArray = new ArrayList<E>();",
"keyArray",
"new ArrayList<E>()",
"public void add(E key){add(key, 1);}",
"add",
"{add(key, 1);}",
"add(key, 1)",
"add",
"key",
"1",
"E key",
"key",
"public void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}",
"add",
"{\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}",
"if(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}",
"containsKey(key)",
"containsKey",
"key",
"{\n\t\t\tvalue += get(key);\n\t\t}",
"value += get(key)",
"value",
"get(key)",
"get",
"key",
"{\n\t\t\tkeyArray.add(key);\n\t\t}",
"keyArray.add(key)",
"keyArray.add",
"keyArray",
"key",
"put(key, value)",
"put",
"key",
"value",
"E key",
"key",
"Integer value",
"value",
"HashMap"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Stack;
import java.util.Scanner;
import java.util.Queue;
/**
* @author yoshikyoto
*/
class Main{
static final boolean DEBUG = false;
static Scanner sc = new Scanner(new InputStreamReader(System.in));
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static void main(String args[]) throws Exception{
String line;
while((line = readLine()) != null){
int[] n = parseInt(line.split(" "));
p(digit(n[0] + n[1]));
}
}
public static String readLine() throws IOException{return br.readLine();}
public static int readInt(){return sc.nextInt();}
public static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(int[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(double[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}
public static void p(Object o){System.out.println(o.toString());}
public static void d(Object o){if(DEBUG)System.out.println(o.toString());}
public static int[] parseInt(String[] arr){
int[] res = new int[arr.length];
for(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);
return res;
}
public static int parseInt(Object o){return Integer.parseInt(o.toString());}
public static int digit(int n){return String.valueOf(n).length();}
}
class MyHashMap<E> extends HashMap<E, Integer>{
ArrayList<E> keyArray = new ArrayList<E>();
public void add(E key){add(key, 1);}
public void add(E key, Integer value){
if(containsKey(key)){
value += get(key);
}else{
keyArray.add(key);
}
put(key, value);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
0,
13,
20,
42,
4,
18,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
4,
18,
2,
17,
2,
18,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
12,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
44,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
44,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = null;",
"sc",
"null",
"try {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"if (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}",
"sc != null",
"sc",
"null",
"{\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"Exception e",
"{\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"{\n\t\t\t\t\tsc.close();\n\t\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"{\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}",
"int[] numList = new int[2];",
"numList",
"new int[2]",
"2",
"for (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}",
"{\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}",
"numList[i] = sc.nextInt()",
"numList[i]",
"numList",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int numRank = (\"\" + (numList[0] + numList[1])).length();",
"numRank",
"(\"\" + (numList[0] + numList[1])).length()",
"(\"\" + (numList[0] + numList[1])).length",
"(\"\" + (numList[0] + numList[1]))",
"\"\"",
"(numList[0] + numList[1])",
"numList[0]",
"numList",
"0",
"numList[1]",
"numList",
"1",
"System.out.println(numRank)",
"System.out.println",
"System.out",
"System",
"System.out",
"numRank",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t\t\t\t}\n\t\t\t\tint numRank = (\"\" + (numList[0] + numList[1])).length();\n\t\t\t\tSystem.out.println(numRank);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = null;
try {
sc = new Scanner(System.in);
while (sc.hasNext()) {
int[] numList = new int[2];
for (int i = 0; i < 2; i++) {
numList[i] = sc.nextInt();
}
int numRank = ("" + (numList[0] + numList[1])).length();
System.out.println(numRank);
}
}catch (Exception e) {
System.out.println(e);
} finally {
if (sc != null) {
try {
sc.close();
} catch (Exception e) {
// TODO: handle exception
}
}
}
}
} |
[
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,
42,
17,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
37,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
15,
72
],
[
72,
73
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\nclass Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str=br.readLine();\n while(true){\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }\n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str=br.readLine();\n while(true){\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str=br.readLine();\n while(true){\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str=br.readLine();\n while(true){\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str=br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(true){\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }",
"true",
"{\n try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}\n }",
"try{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }catch(Exception e){System.exit(0);}",
"catch(Exception e){System.exit(0);}",
"Exception e",
"{System.exit(0);}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n StringTokenizer st=new StringTokenizer(str,\" \");\n int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(sum).length());\n str=br.readLine();\n }",
"StringTokenizer st=new StringTokenizer(str,\" \");",
"st",
"new StringTokenizer(str,\" \")",
"int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());",
"sum",
"Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken())",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"str=br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
while(true){
try{
StringTokenizer st=new StringTokenizer(str," ");
int sum=Integer.parseInt(st.nextToken())+Integer.parseInt(st.nextToken());
System.out.println(String.valueOf(sum).length());
str=br.readLine();
}catch(Exception e){System.exit(0);}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
40,
2,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
30,
14,
2,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
30,
9,
0,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
37,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
35,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
55,
73
],
[
73,
74
],
[
28,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
77,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
28,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
28,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
9,
104
],
[
104,
105
]
] | [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int num = 0;",
"num",
"0",
"while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }",
"(s=br.readLine())!=null",
"(s=br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] str = s.split(\" \");\n if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }",
"String[] str = s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }",
"!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)",
"(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)",
"Integer.parseInt(str[0])>=0",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"0",
"Integer.parseInt(str[0])<=1000000",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"1000000",
"{\n if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }\n }",
"if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){\n continue;\n }",
"Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000",
"Integer.parseInt(str[1])>=0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"0",
"Integer.parseInt(str[1])<=1000000",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"1000000",
"{\n continue;\n }",
"continue;",
"num = Integer.parseInt(str[0]) + Integer.parseInt(str[1])",
"num",
"Integer.parseInt(str[0]) + Integer.parseInt(str[1])",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"int a = String.valueOf(num).length();",
"a",
"String.valueOf(num).length()",
"String.valueOf(num).length",
"String.valueOf(num)",
"String.valueOf",
"String",
"num",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"String[] args",
"args"
] | import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s;
int num = 0;
while((s=br.readLine())!=null){
String[] str = s.split(" ");
if(!(Integer.parseInt(str[0])>=0 && Integer.parseInt(str[0])<=1000000)){
if(Integer.parseInt(str[1])>=0 && Integer.parseInt(str[1])<=1000000){
continue;
}
}
num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);
//System.out.println(str[0]+"\t"+str[1] + "\t"+num);
int a = String.valueOf(num).length();
System.out.println(a);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
17,
41,
13,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
4,
18,
13,
0,
18,
18,
13,
13,
17,
4,
18,
13,
0,
18,
18,
13,
13,
17,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
18,
18,
13,
13,
17,
0,
13,
18,
18,
13,
13,
17,
0,
13,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
155,
5
],
[
155,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
40,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
80,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
80,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
80,
102
],
[
102,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
113,
115
],
[
104,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
124,
126
],
[
104,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
127,
135
],
[
135,
136
],
[
135,
137
],
[
102,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
102,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
6,
152
],
[
152,
153
],
[
0,
154
],
[
154,
155
],
[
154,
156
]
] | [
"import java.util.Scanner;\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int size=kb.nextInt();",
"size",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int a[][]=new int[size][3];",
"a",
"new int[size][3]",
"size",
"3",
"int x",
"x",
"y",
"y",
"z;",
"z",
"for(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<size",
"i",
"size",
"i++",
"i++",
"i",
"{\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}",
"{\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}",
"a[i][0]=kb.nextInt()",
"a[i][0]",
"a[i]",
"a",
"i",
"0",
"kb.nextInt()",
"kb.nextInt",
"kb",
"a[i][1]=kb.nextInt()",
"a[i][1]",
"a[i]",
"a",
"i",
"1",
"kb.nextInt()",
"kb.nextInt",
"kb",
"a[i][2]=kb.nextInt()",
"a[i][2]",
"a[i]",
"a",
"i",
"2",
"kb.nextInt()",
"kb.nextInt",
"kb",
"for(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<size",
"i",
"size",
"i++",
"i++",
"i",
"{\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}",
"{\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}",
"x=a[i][0]",
"x",
"a[i][0]",
"a[i]",
"a",
"i",
"0",
"y=a[i][1]",
"y",
"a[i][1]",
"a[i]",
"a",
"i",
"1",
"z=a[i][2]",
"z",
"a[i][2]",
"a[i]",
"a",
"i",
"2",
"if(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}",
"x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y",
"x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y",
"x*x+y*y==z*z",
"x*x+y*y",
"x*x",
"x",
"x",
"y*y",
"y",
"y",
"z*z",
"z",
"z",
"y*y+z*z==x*x",
"y*y+z*z",
"y*y",
"y",
"y",
"z*z",
"z",
"z",
"x*x",
"x",
"x",
"z*z+x*x==y*y",
"z*z+x*x",
"z*z",
"z",
"z",
"x*x",
"x",
"x",
"y*y",
"y",
"y",
"{\n\tSystem.out.println(\"YES\");\n}",
"System.out.println(\"YES\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"YES\"",
"{\n\tSystem.out.println(\"NO\");\n}",
"System.out.println(\"NO\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"NO\"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][1]=kb.nextInt();\n\ta[i][2]=kb.nextInt();\n}\nfor(int i=0;i<size;i++){\nx=a[i][0];\ny=a[i][1];\nz=a[i][2];\nif(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){\n\tSystem.out.println(\"YES\");\n}else{\n\tSystem.out.println(\"NO\");\n}\n}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int size=kb.nextInt();
int a[][]=new int[size][3];
int x,y,z;
for(int i=0;i<size;i++){
a[i][0]=kb.nextInt();
a[i][1]=kb.nextInt();
a[i][2]=kb.nextInt();
}
for(int i=0;i<size;i++){
x=a[i][0];
y=a[i][1];
z=a[i][2];
if(x*x+y*y==z*z||y*y+z*z==x*x||z*z+x*x==y*y){
System.out.println("YES");
}else{
System.out.println("NO");
}
}
}
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.